Shard message forwarding method and device

A forwarding method and message technology, applied in the field of communication, can solve the problems of occupying network equipment resources, message packet loss, and low forwarding efficiency.

Pending Publication Date: 2019-03-08
RUIJIE NETWORKS CO LTD
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for forwarding fragmented messages, which are used to solve the problems in the prior art that the forwarding efficiency is low, network device resources are occupied for a long time, and even other messages may be lost.

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
  • Shard message forwarding method and device
  • Shard message forwarding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] Aiming at the problems in the prior art that the forwarding efficiency is low, occupying network device resources for a long time, and even causing packet loss of other messages, the embodiment of the present invention provides a method for forwarding fragmented messages, which is applied to network devices In , the flow of the method is as follows figure 1 As shown, the execution steps are as follows:

[0060] S11: Determine whether the message to be forwarded is a fragmented message.

[0061] In this embodiment, only the forwarding method of the fragmented message is concerned, therefore, it is necessary to determine whether the message to be forwarded is a fragmented message.

[0062] S12: If it is determined that the message to be forwarded is a fragmented message, then determine whether the fragmented message is the first message, if it is determined that the fragmented message is the first message, then execute S13; if it is determined that the fragmented message...

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 shard message forwarding method and device. The method comprises the steps of determining whether a to-be-forwarded message is a shard message or not; determining whether theshard message is a first shard message or not if it is determined that the to-be-forwarded message is the shard message; forwarding the first shard message and the cached shard messages of which triple information is the same as that of the first shard message according to a triple conflict chain record table if it is determined that the shard message is the first shard message; and determining whether to forward the shard message or cache the shard message according to the triple conflict chain record table if it is determined that the shard message is not the first shard message. Accordingto the scheme, the forwarding efficiency is greatly improved, moreover, cache of the shard message can be reduced, cache resources of network equipment are saved, and packet loss of other messages isavoided.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and device for forwarding fragmented messages. Background technique [0002] Both the Ethernet and 802.3 protocols have a limit on the size of the data frame, and the maximum values ​​are 1500 and 1492 bytes respectively. This feature of the link layer is called the Maximum Transmission Unit (MTU). Most different types of networks have an upper limit. If the Internet Protocol (IP) layer has a message to transmit, and the data size is larger than the MTU of the link layer, then the IP layer will divide the message into several Fragmentation, to get several fragmented packets, the data size of each fragmented packet is smaller than the MTU. [0003] At present, when forwarding fragmented messages, the quintuple hash algorithm is used. Before all the fragmented messages of a message arrive, they are first cached until all the fragmented messages of the message are re...

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/861H04L12/883H04L49/9015
CPCH04L49/9015H04L49/9057
Inventor 邱扩伟
Owner RUIJIE NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products