A method and device for processing fragmented messages

A message and fragment number technology, applied in the field of network communication, can solve the problems of slow message data transmission rate, slow message check and recombination speed, massive storage space, etc., to improve message check efficiency, increase diversity, The effect of speeding up the scheduling rate

Active Publication Date: 2021-02-09
SANECHIPS TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of the above method is that when different types of packets arrive interspersedly, when the tail fragments of one type of packets do not arrive completely, the first fragments of other types may have arrived. Allocate a new piece of storage space for the first fragment to wait for its error checking and reorganization to complete
Therefore, the existing technical solutions need to apply for a large cache. When the connection is large, a large amount of storage space is required; and the speed of message inspection and reassembly is slow, the transmission rate of message data is not fast, and it is easy to cause congestion when there is a large flow

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 method and device for processing fragmented messages
  • A method and device for processing fragmented messages
  • A method and device for processing fragmented messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0062] Such as figure 2 As shown, a method for processing fragmented messages according to the present invention comprises the following steps:

[0063] Step 201: Pre-create the correct queue linked list, wrong queue linked list and free address linked list, the correct queue linked list, wrong queue linked list and free address linked list are respectively used to store the address of the correct fragment, the address of the wrong fragment and the idle address Fragmentation address; and create correct link head pointer, correct link tail pointer, correct virtual tail point...

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 device for processing fragmented messages, comprising: creating a correct queue list and an error queue list in advance, and creating a head pointer, a tail pointer, and a virtual tail pointer for each queue list; when there is a new fragment When it arrives, assign an address for the new fragment, store the address of the new fragment into the tail node of the correct queue list and the error queue list respectively, and point the correct virtual tail pointer and the wrong virtual tail pointer to the address of the new fragment respectively; check the new Whether the shard is correct and whether the new shard is a tail shard; if it is correct and it is a tail shard, update the correct chain tail pointer to the value of the correct virtual tail pointer, and update the wrong virtual tail pointer to the value of the wrong chain tail pointer; If it is wrong, update the correct virtual tail pointer to the value of the correct chain tail pointer, and update the wrong chain tail pointer to the value of the wrong virtual tail pointer. The present invention saves storage resources and improves message checking efficiency by creating a linked list and adopting a virtual enqueue method.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and device for processing fragmented messages. Background technique [0002] Due to the low cost of Ethernet, flexible networking and good scalability, more and more IP (Internet Protocol) data is carried on Ethernet, but because Ethernet has an upper limit of 1500 bytes for the payload length, As a result, when IP packets pass through the Ethernet, the packets that are too long must be fragmented and reassembled. [0003] However, due to the delay or jitter in the network that transmits the message, errors such as loss and out-of-sequence of the fragmented message may occur. A traditional method for checking fragmentation errors is to first apply for a large buffer, and the message When the first fragment of the message arrives, put the first fragment of the message into the cache, such as figure 1 As shown, the fragments are stored in the location of ca...

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/953H04L12/951H04L12/883H04L47/43H04L49/9015
CPCH04L49/9015H04L49/9057
Inventor 唐美芹朱道松朱海英祝海凤
Owner SANECHIPS TECH 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