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

Method and apparatus for IP fragmentation

An IP fragmentation and IP packet technology, applied in the field of network communication, can solve the problems of multiple fragmentation, multiple reorganization of the receiving end, increase the network burden, etc., and achieve the effect of reducing the number of times and the number of

Inactive Publication Date: 2009-07-22
HUAWEI TECH CO LTD
View PDF0 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] If the IP packet that has been fragmented is routed as a tunnel interface, such as GRE (Generic Routing Encapsulation, general routing encapsulation), a tunnel header must be added, so that the fragmented packet may be fragmented again, causing the packet to be sent The end or intermediate nodes are fragmented multiple times, and the receiving end is reorganized multiple times, which increases the network 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
  • Method and apparatus for IP fragmentation
  • Method and apparatus for IP fragmentation
  • Method and apparatus for IP fragmentation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The following combination figure 1 and figure 2 An embodiment of the invention is provided:

[0026] figure 1 It is a flow chart of the IP fragmentation method in the embodiment of the present invention. The method includes:

[0027] 11. Obtain the length of the IP packet header and the length of the data content of the IP packet.

[0028] 12. Calculate the number of IP fragments. For example, the number of IP fragments FragNum=CEIL(Datalen / ((MTU-Hlen)&~7)), where Datalen is the length of the IP message data content, MTU is the value of the MTU, and Hlen is the length of the IP message header, CEIL is an upper integer function: CEIL(X) means the smallest one among the integers not less than X, & is a bit operation and, and ~ is a bit operation inversion.

[0029] 13. Calculate the data content length of the fragmented IP packet. For example, the data content length of the fragmented IP packet PerFrag_Len=(CEIL(Datalen / FragNum)+7)&˜7.

[0030] 14. The data conte...

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 relates to network communication field, in particular to an IP fragment. The method comprises the steps of: obtaining IP message head length and IP message data content length; according to the IP message head length, IP message data content length and the value of maximum transmission unit MTU, calculating the fragmented IP message data content length; the fragmented IP message data content length is less than the maximum fragment length; the maximum fragment length is the maximum value in all the values; the value is not more than the difference between the value of the MTU and the IP message head length; the value is integral multiple of 8-byte; fragmenting the IP message according to the IP message data content length. Utilizing the technical proposal provided by the embodiment of the invention, because the fragmented IP message data content length is less than the maximum fragment length, the length of IP message routing, then adding with tunnel head is possibly less than MTU, thereby reducing IP fragment times and amounts.

Description

technical field [0001] The invention relates to the field of network communication, in particular to an IP fragmentation method and device. Background technique [0002] IP (Internet Protocol, Internet Protocol) is the most core protocol in TCP / IP (Transmission Control Protocol / Internet Protocol, Transmission Control Protocol / Internet Protocol). All TCP, UDP (User Datagram Protocol, User Datagram Protocol), ICMP (Internet Control Message Protocol, Internet Control Message Protocol) and IGMP (Internet Group Management Protocol, Internet Group Management Protocol) data are transmitted in IP packet format. [0003] The physical network layer generally limits the maximum length of data frames sent each time. If the IP layer has a message to transmit, and the length of the data is larger than the MTU (Maximum Transmission Unit, maximum transmission unit) of the link layer, then the IP layer Fragmentation is required to divide the message into several pieces, so that each piece i...

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/56H04L29/06
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