Data forwarding method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsYuanping Zhu, Yada Huang, Jing Liu, Mingzeng Dai
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to data forwarding methods. One example method includes receiving, by a first node, a first data packet, where the first data packet includes first data and an identifier of a second node of the first data, querying, by the first node, a first route mapping relationship based on the identifier of the second node to determine a third node, where the first route mapping relationship includes a correspondence between the second node and the third node, and forwarding, by the first node, the first data to the third node.
Claims15
A data forwarding method, comprising:
- generating, by a first node in a 5G network, a topology relationship of the first node, wherein the topology relationship of the first node includes one or more identifiers of one or more first-type subnodes and one or more connection statuses between the first node and the one or more first-type subnodes, wherein each first-type subnode of the one or more first-type subnodes connects to a core network by using the first node, and wherein the first node connects to the core network by using a parent node of the first node;
- receiving, by the first node from the one or more first-type subnodes, topology relationship information of the one or more first-type subnodes, wherein topology relationship information of a first-type subnode of the one or more first-type subnodes includes one or more identifiers of one or more second-type subnodes and one or more connection statuses between the first-type subnode and the one or more second-type subnodes, and wherein each second-type subnode of the one or more second-type subnodes connects to the core network by using the first-type subnode;
- after receiving the topology relationship information of the one or more first-type subnodes, sending, by the first node to the parent node of the first node, the received topology relationship information of the one or more first-type subnodes and the generated topology relationship of the first node;
- receiving, by the first node, a first data packet, wherein the first data packet comprises first data and an identifier of a second node of the first data, and wherein the identifier of the second node comprises an identifier of a root node serving user equipment or an identifier of a node that is of the root node and that serves the user equipment;
- querying, by the first node, a first route mapping relationship based on the identifier of the second node to determine a third node, wherein the first route mapping relationship comprises a correspondence between the second node and the third node, and wherein the third node is a next-hop node that is indicated in the first route mapping relationship and that the first data packet reaches after passing through the first node;
- and
- forwarding, by the first node, the first data to the third node.
An apparatus, comprising:
- at least one processor;
- and
- a non-transitory computer-readable storage medium coupled to the at least one processor and storing programming instructions for execution by the at least one processor, wherein the programming instructions instruct the apparatus to:
- generate a topology relationship of the apparatus, wherein the apparatus is a node in a 5G network, wherein the topology relationship of the apparatus includes one or more identifiers of one or more first-type subnodes and one or more connection statuses between the apparatus and the one or more first-type subnodes, wherein each first-type subnode of the one or more first-type subnodes connects to a core network by using the apparatus, and wherein the apparatus connects to the core network by using a parent node of the apparatus;
- receive, from the one or more first-type subnodes, topology relationship information of the one or more first-type subnodes, wherein topology relationship information of a first-type subnode of the one or more first-type subnodes includes one or more identifiers of one or more second-type subnodes and one or more connection statuses between the first-type subnode and the one or more second-type subnodes, and wherein each second-type subnode of the one or more second-type subnodes connects to the core network by using the first-type subnode;
- after receiving the topology relationship information of the one or more first-type subnodes, send, to the parent node of the apparatus, the received topology relationship information of the one or more first-type subnodes and the generated topology relationship of the apparatus;
- receive a first data packet, wherein the first data packet comprises first data and an identifier of a second node of the first data, and wherein the identifier of the second node comprises an identifier of a root node serving user equipment or an identifier of a node that is of the root node and that serves the user equipment;
- query a first route mapping relationship based on the identifier of the second node to determine a third node, wherein the first route mapping relationship comprises a correspondence between the second node and the third node, and wherein the third node is a next-hop node that is indicated in the first route mapping relationship and that the first data packet reaches after passing through the apparatus;
- and
- forward the first data to the third node.
Dependencies are inferred from the claim text.