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

Apparatus and method for forwarding packets

A technology for forwarding messages and messages, applied in the field of communication, can solve problems such as increasing the burden on edge node devices, increasing the burden of fragmentation processing, consuming edge node device resources, etc., to achieve the effect of saving resources and reducing burdens

Active Publication Date: 2008-06-25
HUAWEI TECH CO LTD
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] When the MTU of the forwarding node in the GRE network is smaller than the length of the GRE packet, the GRE packet needs to be fragmented, so that the outgoing edge node of the GRE network must reassemble the packet, which not only increases the burden on the outgoing edge node device, but also increases the burden on the outgoing edge node. Moreover, if the fragmented message is lost or the delay time is relatively long, it will cause the edge node device to buffer the fragmented message, consuming the resources of the edge node device; in addition, the forwarding node in the GRE network also increases the fragmentation processing burden

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
  • Apparatus and method for forwarding packets
  • Apparatus and method for forwarding packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] Referring to Fig. 1, an embodiment of the present invention provides a method for forwarding a message, which specifically includes:

[0022] S101: The ingress edge node of the GRE tunnel sends a tunnel bidirectional detection message of a preset length to the egress edge node of the GRE tunnel; in this embodiment, the GRE keeplive message is used as the tunnel bidirectional detection message, and the egress edge node returns after receiving The GRE keeplive message is sent to the incoming edge node. If the preset packet length is greater than the MTU of some nodes in the tunnel, the packet will be fragmented during tunnel transmission. Existing fragmentation technology is usually to ensure that the sum of the length of all fragmented packets is equal to the length of the packet before fragmentation, and divide them equally according to the minimum MTU of the tunnel. If the length is less than the minimum MTU, the actual length shall prevail. For example, if the minim...

Embodiment 2

[0032] Referring to Figure 2, the embodiment of the present invention also provides a device for forwarding messages, specifically including:

[0033] An acquisition module, configured to acquire the minimum MTU of the GRE tunnel by using the tunnel bidirectional detection message;

[0034] The forwarding module is used to forward the packet to the GRE tunnel according to the minimum MTU obtained by the acquisition module, or fragment the packet and then forward it to the GRE tunnel.

[0035] Among them, the acquisition module specifically includes:

[0036] The communication unit is used to send the first tunnel bidirectional detection message to the outgoing edge node device of the tunnel of the public routing encapsulation protocol, and receive the message returned by the outgoing edge node device; it is also used to set the length of the first tunnel bidirectional detection message and send the number and length of the packets returned by the edge node device to the proce...

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 discloses a method and a device for transmitting message, and belongs to the communication field. The method comprises the following steps: tunnel bidirectional detecting message is utilized to acquire the minimum MTU of a GRE tunnel; the message is transmitted to the GRE tunnel according the MTU, or the message is transmitted to the GRE tunnel after being sliced. The device comprises an acquisition module and a transmission module. The invention utilizes the tunnel bidirectional detecting message to acquire the minimum MTU of the GRE tunnel, and determines whether to transmit the message directly or transmit the message to the GRE tunnel after being sliced according to the MTU, thereby guaranteeing the transmitted message in the GRE tunnel without the need to be sliced anymore and the exit edge node of the GRE tunnel without the need to reorganize the message, preventing the exit edge node from caching the un-complete slicing message, saving the resources of the exit edge node equipment and reducing the burden of the equipment. Besides, the forwarding node in the GRE tunnel is also not required to be sliced, thereby reducing the burden of the intermediate forwarding node.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for forwarding messages. Background technique [0002] GRE (Generic Routing Encapsulation, public routing encapsulation protocol) can be used as the third-layer tunneling protocol of VPN (Virtual Private Network, virtual private network), and a tunnel (Tunnel) technology is adopted between protocol layers. Tunnel is a virtual point-to-point connection, which can be regarded as a virtual interface that only supports point-to-point connections. This interface provides a path, so that encapsulated data packets can be transmitted on this path, and are connected to each other at both ends of a tunnel. Data packets are encapsulated and decapsulated. [0003] In the prior art, when a message is forwarded by a GRE-applied network, the forwarded message is usually GRE-encapsulated into a GRE message at the ingress edge node of the GRE network, that is, an outer layer IP and ...

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 Applications(China)
IPC IPC(8): H04L12/56H04L12/46H04L29/06H04L12/721
Inventor 施维
Owner HUAWEI 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