Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A data packet encapsulation method and device

A data message and datagram technology, applied in data exchange network, data exchange through path configuration, digital transmission system, etc., can solve the problem of increased cost, avoid high performance requirements, and reduce costs.

Active Publication Date: 2021-05-07
NEW H3C TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of this application is to provide a method and device for encapsulating data packets, which are used to solve the problem of increased cost caused by forwarding engines performing multi-layer label encapsulation in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A data packet encapsulation method and device
  • A data packet encapsulation method and device
  • A data packet encapsulation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] like figure 1 Shown is a schematic flowchart of a method for encapsulating a data packet according to Embodiment 1. The method can be applied to a device serving as an entry node, and the method includes the following steps

[0045] Step 101 , based on the destination address of the data packet to be forwarded, find the egress entry. The egress entry includes egress auxiliary labels, intermediate node labels, egress node labels, and loopback ports.

[0046] Step 102: Encapsulate the egress auxiliary label of the egress entry, the intermediate node label and the egress node label for the data packet, encapsulate the outer Ethernet header of the loopback interface according to the loopback interface, and send the MPLS datagram with the egress auxiliary label through the loopback interface arts.

[0047] Step 103: Receive the MPLS data packet with the exit auxiliary label through the loopback interface.

[0048] Step 104, when the ingress entry is found according to the...

Embodiment 2

[0051] When the node 221 receives the MPLS data packet through the MPLS network, it generates a forwarding entry according to the label 206 of the entry node 22 of the MPLS data packet and the source IP address of the inner IP data packet of the received MPLS data packet. The forwarding entry is generated according to the MPLS data packet entry node label 401 and the source IP address of the received MPLS data packet inner layer IP data packet. The node 221 may determine, according to the network topology, a Label Switched Path (LSP, Label Switched Path) to the node 226 corresponding to the ingress label (ingress lable) 206 as follows: figure 2 As shown, the label switching device on the LSP 20 sequentially includes: an ingress (ingress) node 221 , intermediate (transit) nodes 222 - 225 and an egress (egress) node 226 .

[0052] When the node 221 determines that the number of labels to be encapsulated by the LSP is greater than the label encapsulation capability of the forwar...

Embodiment 3

[0058] When the node 421 receives the MPLS data packet through the MPLS network, it generates a forwarding entry according to the entry node label 401 of the MPLS data packet and the source IP address of the inner IP data packet of the received MPLS data packet. The ingress node 421 can determine the LSP reaching the node 429 corresponding to the ingress label 409 according to the network topology, such as: Figure 4 As shown, the label switching device on the LSP 30 sequentially includes: an ingress node 421 , transit nodes 422 - 428 and an egress node 429 .

[0059] When the node 421 determines that the number of labels to be encapsulated by the LSP is greater than the label encapsulation capability of the forwarding chip, the node 421 may generate an egress entry, an intermediate entry and an entry entry according to the label encapsulation capability of the forwarding chip. The egress entry includes egress auxiliary label 413, intermediate node labels 407, 408, egress node...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application provides a data message encapsulation method and device, the method comprising: based on the destination address of the data message to be forwarded, finding an egress entry; the egress entry includes an egress auxiliary label, an intermediate node label, an egress node label and loopback port; encapsulate the export auxiliary label, intermediate node label, and exit node label for the data message, encapsulate the outer Ethernet header of the loopback port according to the loopback port, and send the export auxiliary label through the loopback port MPLS data message; receive the MPLS data message with the export auxiliary label through the loopback port; when the entry entry is found according to the exit auxiliary label, strip the exit auxiliary label; encapsulate the entry node label and the intermediate node label of the entry entry, Encapsulate the outer Ethernet header of the outbound port according to the outbound port of the ingress node on the forwarding path in the ingress table entry, and send it through the outbound port. The cost of multi-layer label packaging can be effectively reduced.

Description

technical field [0001] The present application relates to the technical field of packet encapsulation, and in particular, to a data packet encapsulation method and device. Background technique [0002] Segment routing (SR, Segment Routing) adopts the source path selection mechanism. By pre-encapsulating the segment identifier (SID, Segment Identifier) ​​of the segment to be passed by the packet path at the ingress node, when the packet is transmitted to the SR node, the SR node according to the packet path. The SID of the message is forwarded to the received message. Therefore, in the process of packet forwarding, except for the ingress node, other switching nodes do not need to maintain the path state, which can effectively improve the forwarding efficiency. [0003] Multi-Protocol Label Switching (MPLS) segment routing (Segment Routing with MPLS) refers to forwarding packets using labels as SIDs when SR is used in an MPLS network. In an MPLS network, a path traversed by ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/723H04L12/741H04L12/46H04L45/50H04L45/74
CPCH04L12/4633H04L45/50H04L45/745
Inventor 黄玉成
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products