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

Data message packaging method and device

A technology of data message and datagram, applied in data exchange network, data exchange through path configuration, digital transmission system, etc., can solve problems such as increased cost

Active Publication Date: 2019-03-08
NEW H3C TECH CO LTD
View PDF9 Cites 2 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
  • Data message packaging method and device
  • Data message packaging method and device
  • Data message packaging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Such as figure 1 Shown is a schematic flow diagram of a method for encapsulating data packets provided in the first embodiment. The method can be applied to a device as an ingress node. The method includes the following steps

[0045] Step 101: Find an exit entry based on the destination address of the data message to be forwarded. The exit entry includes the exit auxiliary label, intermediate node label, exit node label, and loopback port.

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

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

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

Embodiment 2

[0051] When the node 221 receives the MPLS data message through the MPLS network, it generates a forwarding entry according to the label 206 of the ingress node 22 of the MPLS data message and the source IP address of the inner IP data message of the received MPLS data message. The forwarding entry is generated according to the ingress node label 401 of the MPLS data message and the source IP address of the inner IP data message of the received MPLS data message. 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 label) 206. figure 2 As shown, the label switching device on the LSP 20 includes in turn: an ingress (ingress) node 221, an intermediate (transit) node 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 forwardi...

Embodiment 3

[0058] When the node 421 receives the MPLS data message through the MPLS network, it generates a forwarding entry according to the entry node label 401 of the MPLS data message and the source IP address of the inner IP data message of the received MPLS data message. The ingress node 421 can determine the LSP to the node 429 corresponding to the ingress label 409 according to the network topology. Figure 4 As shown, the label switching device on the LSP 30 includes in turn: 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, it may generate the egress entry, the intermediate entry, and the entry entry according to the label encapsulation capability of the forwarding chip. The egress entry includes the egress auxiliary label 413, the intermediate node labels 407, 408, the egress node label 409, and t...

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 invention provides a data message packaging method and device. The method comprises the following steps that based on a destination address of a data message needing to be forwarded, an exit tableitem is searched out, wherein the exit table item comprises an exit auxiliary label, an intermediate node label, an exit node label and a loopback port; the exit auxiliary label, the intermediate node label and the exit node label of the exit table item are packaged for the data message, a loopback port outer layer Ethernet head is packaged according to the loopback port, and an MPLS data messagewith the exit auxiliary label is sent through the loopback port; the MPLS data message with the exit auxiliary label is received through the loopback port; the exit auxiliary label is stripped when an entrance table item is searched out according to the exit auxiliary label; and an entrance node label and an intermediate node label of the entrance table item are packaged, an exit port outer layerEthernet head is packaged according to an exit port, on a forwarding path, of an entrance node in the entrance table item, and the data message is sent through the exit port. The multi-layer label packaging cost can be effectively reduced.

Description

Technical field [0001] This application relates to the technical field of message encapsulation, and specifically to a method and device for encapsulating data messages. Background technique [0002] Segment routing (SR, Segment Routing) adopts a source path selection mechanism. By pre-encapsulating the segment identifier (SID, Segment Identifier) ​​of the segment to be passed by the message path at the ingress node, when the message is transmitted to the SR node, the SR node The SID of the message forwards the received message. Therefore, in the message forwarding process, 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, Multi-Protocol Label Switching) segment routing (SegmentRouting with MPLS) refers to the use of SR in the MPLS network, the label (Label) is used as the SID to forward the message. In an MPLS network, the path that a m...

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
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