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

Fragments-reassembling method of IP messages and device thereof

A technology of IP packets and packets, which is applied in the field of communication, can solve problems such as slow reassembly speed and poor real-time performance of packet reassembly, and achieve the effects of helping maintenance, avoiding processing burden, and avoiding hash conflicts

Active Publication Date: 2012-07-25
DAWNING INFORMATION IND BEIJING +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Aiming at the problems of poor real-time performance and slow reassembly speed of message reassembly in related technologies, the purpose of the present invention is to provide a fragment reassembly scheme of IP messages to solve at least one of the above problems

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
  • Fragments-reassembling method of IP messages and device thereof
  • Fragments-reassembling method of IP messages and device thereof
  • Fragments-reassembling method of IP messages and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] In this embodiment, a method for fragment reassembly of IP packets is provided, wherein the first storage partition and the second storage partition are used as a buffer group, and the third storage partition and the fourth storage partition are used as a buffer group. blocks.

[0041] figure 1 It is a flow chart of the fragment reassembly method for IP packets according to this embodiment. like figure 1 As shown, the method for fragment reassembly of the IP message according to the present embodiment includes:

[0042] Step S102, the control information (preferably, the control information of message can at least include: four-tuple information (comprising source address, purpose address, ID, and protocol) of the fragmentation and fragmentation belonging to the same IP message received )), IP header length, IP packet length, and fragment identifier) ​​are stored in the first storage partition;

[0043] Step S104, there will be a hash conflict with the slice stored ...

Embodiment 2

[0059] In the first method embodiment, the processing method for one hash collision is mainly described, that is, the shard with the hash collision is stored in the second storage partition or the fourth storage partition. In practical applications, there are often more hash collisions. At this time, the number of storage partitions in each group of buffers can be increased.

[0060] For example, the three storage partitions of storage partition 1, storage partition 2, and storage partition 3 can be used as a group of spaces, and the three storage partitions of storage partition 4, storage partition 5, and storage partition 6 can be used as another group of spaces. At this time, the fragment received first can be stored in storage partition 1, the fragment received later that has a hash conflict with the fragment stored in storage partition 1 can be stored in storage partition 2, and the fragment received later and stored in The fragments stored in partition 1 and storage part...

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 fragments-reassembling method of IP messages and a device thereof, wherein the method comprises the steps: memorizing received fragments affiliated to the same IP message and control information of the fragments into a first memory subarea; memorizing the fragments which are memorized in the first memory subarea, have the hash collision and is affiliated to another IP message and the control information of the fragments into a second memory subarea corresponding to the first memory subarea; and for each one of the first memory subarea and the second memory subarea, under the condition that the all fragments according to the IP messages are completely received, outputting all the fragments in the memory subarea. The invention can immediately and fast realize the reassembly of the fragment messages, effectively answers to the attack of the fragments, avoids the hash collision, and avoids increasing the process load to CPU.

Description

technical field [0001] The invention relates to the communication field, in particular to a fragment reassembly method and device for an IP message. Background technique [0002] Internet Protocol (Internet Protocol, IP for short) packet fragmentation is a commonly used technical means for transmitting IP packets on a network. When the IP protocol transmits data packets, the data packets are divided into several fragments for transmission, and reassembled in the target system. [0003] The process of fragmentation and reassembly of the message is transparent to the transport layer. The reason is that after the IP datagram is fragmented, it can only be reassembled when it reaches the destination station, and it is determined by the IP address of the destination end. layer, and the fragmented datagram can also be fragmented again as needed. [0004] At present, there are usually many attackers on the network, and the transmission of IP fragments is usually attacked. General...

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/56H04L29/06H04L47/43
Inventor 聂华邵宗有历军张英文
Owner DAWNING INFORMATION IND BEIJING
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