Method and device for determining maximum capacity of message

A technology of maximum capacity and message, applied in the direction of network traffic/resource management, electrical components, wireless communication, etc., can solve the problems of low transmission performance, NP processor fragmentation and reassembly, and low transmission performance of base stations, and achieves a high efficiency. Effect

Inactive Publication Date: 2013-05-01
DATANG MOBILE COMM EQUIP CO LTD
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In addition, when transmitting TCP (Transmission Control Protocol, Transmission Control Protocol) messages at both ends of the communication, there will also be a similar problem that the NP processor needs to perform fragment reassembly
[0006] The NP processor has a weak function of secondary reassembly and fra

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 device for determining maximum capacity of message
  • Method and device for determining maximum capacity of message
  • Method and device for determining maximum capacity of message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Embodiment 1: adjust the maximum capacity of the TCP message; as Figure 4 As shown, the specific steps are as follows:

[0050] S401. Obtain the current message type;

[0051] S402, check whether it is a TCP message;

[0052] If it is not a TCP message, skip to step S407; if it is a TCP message, perform step S403;

[0053] S403, check whether it is a SYN or SYNACK message of the three-way handshake in the TCP connection;

[0054] If it is not a SYN or SYN ACK message, skip to step S407; if it is a SYN or SYN ACK message, perform step S404;

[0055] S404. Obtain the MSS value of the Options field in the current TCP message;

[0056] S405. Determine whether the MSS value in the TCP message is greater than a set reasonable value;

[0057] For example: set a reasonable value to avoid NP fragment reassembly, and the maximum value cannot exceed 1500-UDP / IP(28)-GTPU(8)-TCP / IP(40)=1424 bytes

[0058] If the MSS value of the message is greater than the set reasonable valu...

Embodiment 2

[0061] Embodiment 2: adjust the maximum capacity of UDP packets; as Figure 5 As shown, the specific steps are as follows:

[0062] S501, judging whether the current packet length is greater than a set MTU reasonable value;

[0063] The reasonable value to set is to avoid NP fragment reassembly, and the maximum value cannot exceed 1500-UDP / IP(28)-GTPU(8)=1464 bytes

[0064] If the current packet length is less than or equal to the reasonable value of MTU, skip to step S506; if the current packet length is greater than the reasonable value of MTU, execute step S502;

[0065] S502. Extract the source IP and destination IP of the original message, and execute step S503;

[0066] S503. Create an ICMP control message for setting the MTU, the message format is IP / ICMP, and execute step S504;

[0067] S504. Fill in the set MTU reasonable value in the MTU field of ICMP extension, and use the source IP of the original message as the destination IP, and fill in the destination IP as ...

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 embodiment of the invention provides a method and a device for determining the maximum capacity of a message, so as to prevent an NP (Network Processor) in a base station from performing fragmentation and reassembly on the message and increase the transmission efficiency of the base station. The method comprises the following steps that the message sent by a sending end is received; when the received message is determined as a transmission control protocol (TCP) message containing a maximum segment size (MSS) value, the MSS value of the message is compared with a preset capacity threshold; if the MSS value of the message is greater than the preset capacity threshold, the MSS value of the message is adjusted to the preset capacity threshold; and the TCP message carrying the adjusted MSS value is sent to a receiving end.

Description

technical field [0001] The present invention relates to the field of mobile communication, in particular to a method and device for determining the maximum capacity of a message Background technique [0002] The MTU (Maximum Transform Unit, maximum transmission unit) of the NP (Network Processor, network processor) processor in the base station is 1500 bytes, that is, the byte size of the largest data packet that can pass is 1500 bytes. [0003] Taking the uplink direction as an example, the IP (Internet Protocol, Internet Protocol) packet sent by UE (User Equipment, User Equipment) will add GTPU (GPRS Tunneling Protocol User, GPRS Tunneling Protocol User Surface) header (8 bytes) and UDP (User Datagram Packet, user datagram) / IP header (28 bytes) for internal communication of the base station, the MTU of each node inside the base station is 1500 bytes, so as long as the IP packet sent by the UE Processors larger than 1464 (1500-28-8) will fragment, send the fragmented packe...

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): H04W28/06
Inventor 孙祎马明礼龚绍钦
Owner DATANG MOBILE COMM EQUIP 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