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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com