CN114039933A - IP transmission method, device, equipment and product of 5G network link - Google Patents

IP transmission method, device, equipment and product of 5G network link Download PDF

Info

Publication number
CN114039933A
CN114039933A CN202111266555.7A CN202111266555A CN114039933A CN 114039933 A CN114039933 A CN 114039933A CN 202111266555 A CN202111266555 A CN 202111266555A CN 114039933 A CN114039933 A CN 114039933A
Authority
CN
China
Prior art keywords
message
segment length
length
transmission
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202111266555.7A
Other languages
Chinese (zh)
Inventor
邵胜勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Scientific Research Institute Co Ltd
Original Assignee
Shandong Inspur Scientific Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Scientific Research Institute Co Ltd filed Critical Shandong Inspur Scientific Research Institute Co Ltd
Priority to CN202111266555.7A priority Critical patent/CN114039933A/en
Publication of CN114039933A publication Critical patent/CN114039933A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • H04L47/365Dynamic adaptation of the packet size

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an IP transmission method, a device, equipment and a product of a 5G network link, relating to the technical field of communication, wherein the method comprises the following steps: acquiring handshake information when a transmission control protocol connection is established at a sending side; acquiring the relationship between the maximum message segment length carried in the handshake information and a preset maximum message segment length; when the maximum message segment length carried in the handshake information is larger than the relationship of the preset maximum message segment length, modifying the maximum message segment length carried in the handshake information into the preset maximum message segment length, and sending the modified handshake information to the sending side; and the link established between the sending side and the network receiving side generates a transmission control protocol message according to the preset maximum message segment length carried in the modified handshake information. The invention can eliminate the IP fragment generated by the 5G network transmission layer and improve the performance of the transmission network.

Description

IP transmission method, device, equipment and product of 5G network link
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an IP transmission method, apparatus, device, and product for a 5G network link.
Background
Currently, a transmission link of a medium-backhaul (Middle-haul) and a transmission link of a backhaul (Back-haul) of a fifth Generation mobile communication (5-Generation, 5G) network adopt an Internet Protocol (IP) transmission technology according to a 3rd Generation Partnership Project (3 GPP) related Protocol, and a Protocol stack structure is as follows: various communication applications on gtpu/udp/IP, 5G terminals also basically adopt an IP transmission protocol, and the protocol stack structure is: application data/(tcp or udp)/ip.
The application messages of the 5G network terminal are transmitted on a Middle-haul link and a Back-haul link, and the complete protocol stack structure is as follows: application data/(tcp or udp)/IP (application layer)/gtpu/udp/IP (transport layer), that is, when an IP packet of the application layer reaches the 5G transport network, a gtpu/udp/IP three-layer protocol header is added. At present, the link layer of the IP network is generally an ethernet (ethernet) network, and when the transport layer Protocol is a Transmission Control Protocol (TCP) mode, in order to improve Transmission efficiency, the Maximum Segment Size (MSS) negotiated at both ends is determined to be 1460 according to the Maximum Transmission Unit (MTU) of the ethernet, this is not problematic for the same layer of the ethernet network or the transmission network having MTUs larger than that of the ethernet, but the Middle-haul and Back-haul of the 5G network are under the application layer network as the bearer link of the application layer and are also generally ethernet networking, the newly added gtpu/udp/ip protocol header in its transport layer protocol will result in an overall packet length larger than its ethernet MTU, therefore, IP fragmentation is generated on the Middle-haul link and the Back-haul link, and the message is divided into a plurality of pieces, wherein each piece is smaller than the MTU. Correspondingly, at the receiving side of the IP packet, a plurality of IP fragments need to be recombined to finally recover into a complete IP packet, and in this case, a complete IP header needs to be added to each IP fragment repeatedly, which increases network load and reduces transmission efficiency. If one fragment is lost, it is not possible to retransmit a fragment selectively and thus to discard the whole packet, which reduces the performance of the transmission network.
Disclosure of Invention
The invention provides an IP transmission method, device, equipment and product of a 5G network link, which are used for solving the defect that IP fragments are possibly generated when a 5G network transmits data based on an IP transmission protocol in the prior art, eliminating the IP fragments generated by a 5G network transmission layer and improving the performance of a transmission network.
The invention provides an IP transmission method of a 5G network link, which is applied to a network receiving side and comprises the following steps:
acquiring handshake information when a transmission control protocol connection is established at a sending side;
determining the relationship between the maximum message segment length carried in the handshake information and a preset maximum message segment length;
when the maximum message segment length carried in the handshake information is larger than the relationship of the preset maximum message segment length, modifying the maximum message segment length carried in the handshake information into the preset maximum message segment length, and sending the modified handshake information to the sending side; and generating a transmission control protocol message by a link established between the sending side and the network receiving side according to the preset maximum message segment length carried in the modified handshake information, wherein the maximum message segment length of the transmission control protocol message is the preset maximum message segment length.
According to the IP transmission method of the 5G network link provided by the invention, the preset maximum message segment length is set based on the maximum transmission unit of the link layer.
According to the IP transmission method of the 5G network link, the handshake information comprises the transmission control protocol establishment connection information.
The invention also provides an IP transmission method of the 5G network link, which is applied to a network receiving side and comprises the following steps:
acquiring a user datagram protocol message sent by a sending side;
determining the relation between the length of the user datagram protocol message and a preset length;
when the length of the user datagram protocol message is larger than the preset length, generating a control message protocol error message, and sending the control message protocol error message to the sending side; and the sending side adjusts the length of the user datagram protocol message based on the parameter of the control message protocol error message and sends the adjusted user datagram protocol message to a network receiving side.
According to the IP transmission method of the 5G network link provided by the present invention, the parameters include:
when a transmission link is based on IPv4, generating an ICMPv4 error message, wherein the parameter of the ICMPv4 error message is type-3 and code-4;
when a transmission link is based on IPv6, generating an ICMPv6 error message, setting a maximum transmission unit of a link layer as a preset maximum transmission unit, setting a parameter of the ICMPv6 error message as type to be 2, and setting a code to be 0.
The invention also provides an IP transmission device of the 5G network link, which is applied to a network receiving side and comprises the following components:
the first acquisition module is used for acquiring handshake information when the transmission control protocol connection is established at the sending side;
a second obtaining module, configured to determine a relationship between a maximum packet segment length carried in the handshake information and a preset maximum packet segment length;
a modification module, configured to modify the maximum packet segment length carried in the handshake information to the preset maximum packet segment length when the maximum packet segment length carried in the handshake information is greater than the relationship of the preset maximum packet segment length, and send the modified handshake information to the sending side; and generating a transmission control protocol message by a link established between the sending side and the network receiving side according to the preset maximum message segment length carried in the modified handshake information, wherein the maximum message segment length of the transmission control protocol message is the preset maximum message segment length.
The invention also provides an IP transmission device of the 5G network link, which is applied to a network receiving side and comprises the following components:
the third acquisition module is used for acquiring a user datagram protocol message sent by a sending side;
a fourth obtaining module, configured to determine a relationship between a length of the user datagram protocol packet and a preset length;
the adjusting module is used for generating a control message protocol error message when the length of the user datagram protocol message is larger than the preset length, and sending the control message protocol error message to the sending side; and the sending side adjusts the length of the user datagram protocol message based on the parameter of the control message protocol error message and sends the adjusted user datagram protocol message to a network receiving side.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the IP transmission method of the 5G network link.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the IP transmission method of the 5G network link as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the IP transmission method of the 5G network link as described in any one of the above.
According to the IP transmission method, the device, the equipment and the product of the 5G network link, when the connection is established between the sending side and the network receiving side based on the TCP, the size of the TCP message is controlled through the preset MSS, and in the process of establishing the TCP connection by the upper application, when the MSS negotiated at the two ends of the communication is larger than the preset MSS, the MSS negotiated at the two ends of the communication is modified into the preset MSS, so that the maximum length of a single IP load during the communication of the application layer is controlled, the IP fragmentation generated by the 5G network transmission layer can be eliminated, and the performance of the transmission network is improved;
when the connection between the sending side and the network receiving side is established based on UDP, the size of a UDP message is controlled through the preset size, and in a UDP mode, when the length of the UDP message transmitted by the sending side is larger than the preset length, an ICMP error message is sent to the sending side of the source end, so that the source end adjusts the length of the UDP message, the maximum length of a single IP load in application layer communication is further controlled, IP fragments generated by a 5G network transmission layer can be eliminated, and the performance of a transmission network is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is one of the flow diagrams of the IP transmission method of the 5G network link provided by the present invention;
fig. 2 is a second schematic flow chart of the IP transmission method of the 5G network link provided by the present invention;
fig. 3 is one of the schematic structural diagrams of the IP transmission apparatus of the 5G network link provided by the present invention;
fig. 4 is a second schematic structural diagram of an IP transmission apparatus of a 5G network link provided by the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, the application layer communication of the 5G terminal is based on an IP transport Protocol, and the application layer set for communication generally does not directly use the IP transport Protocol, but uses a transport layer Transmission Control Protocol (TCP) or a User Datagram Protocol (UDP) on a network layer to transmit data, so that the length (size) of an IP packet can be controlled by controlling the length (size) of a TCP/UDP packet.
The IP transmission method of the 5G network link of the present invention is described below with reference to fig. 1, where the method shown in fig. 1 is applied to the network receiving side, and includes the following steps:
s100, acquiring handshake information when the TCP connection is established on the sending side.
S200, determining the relation between the MSS carried in the handshake information and the preset MSS.
S300, when the MSS carried in the handshake information is larger than the relation of the preset MSS, the MSS carried in the handshake information is modified (tampered) into the preset MSS, and the modified handshake information is sent to a receiving side. And then, a link established between the sending side and the network receiving side, namely a TCP protocol stack, generates a transmission control protocol message according to the preset MSS carried in the modified handshake information, wherein the MSS of the transmission control protocol message is the preset MSS.
In step S300, a sending side, such as a communication terminal, a server, etc., transmits an IP packet according to a preset MSS, and uses a preset MSS finally carried in handshake information or an MSS parameter smaller than the preset MSS as an MSS used by a link, so that after TCP handshake succeeds, according to a TCP protocol, TCP protocol stacks at two ends of communication may generate a TCP packet size according to the configured MSS, and the length of the generated IP packet may not exceed the MTU of Middle-haul and Back-haul.
In this embodiment, the preset MSS is set based on the MTU of the link layer, and thus the maximum value of the preset MSS is 1460. Specifically, a preset MSS is configured in a logical network element CU of the 5G base station, and an IP fragment is not generated in a TCP packet that satisfies the preset MSS.
The process of establishing the connection of the TCP Protocol includes three-way handshake messages for negotiating transmission parameters, where the three-way handshake messages include an MSS, a Packet Data Convergence Protocol (PDCP) or Service Data Adaptation Protocol (SDAP) of a Central Unit (CU) of a logical network element of a 5G base station, where the SDAP is an optional Protocol, and the Protocol layer can detect a TCP link establishment Packet of the application layer, and can control the length of the TCP Packet by modifying the MSS in the handshake messages.
In the present embodiment, the handshake information includes transmission control protocol establishment connection information, i.e., TCP SYN and TCP SYN ACK.
Therefore, the IP transmission method of the 5G network link controls the size of the TCP message through the preset MSS when the connection is established between the sending side and the network receiving side based on the TCP, and modifies the MSS negotiated at the two communication ends into the preset MSS when the MSS negotiated at the two communication ends is larger than the preset MSS in the process of establishing the TCP connection by the upper application, thereby controlling the maximum length of a single IP load during the communication of the application layer, eliminating the IP fragmentation generated by the 5G network transmission layer and improving the performance of the transmission network.
The IP transmission method of the 5G network link of the present invention is described below with reference to fig. 2, and the method shown in fig. 2 is applied to the network receiving side, and includes the following steps:
s400, obtaining the UDP message sent by the sending side.
S500, determining the relation between the length of the UDP message and the preset length.
S600, when the length of the UDP Message is larger than the preset length, generating an ICMP (Internet Control Message Protocol) error Message, and sending the ICMP error Message to a receiving side. And then, the sending side adjusts the length of the UDP message based on the parameters of the ICMP error message and sends the adjusted UDP message to the network receiving side.
The parameters include:
when a transmission link is based on IPv4, generating an ICMPv4 error message, wherein the parameter of the ICMPv4 error message is type-3 and code-4;
when a transmission link is based on IPv6, generating an ICMPv6 error message, setting the MTU of a link layer as a preset MTU, namely the MTU is equal to the preset MTU, setting the parameter of the ICMPv6 error message as type 2, and setting the code as 0.
When the upper layer application is in a UDP transmission mode and the UDP message is larger than the preset length, the SDAP or PDCP protocol layer of a logic network element CU of the 5G base station can construct an ICMP error message, if the transmission links of Middle-haul and Back-haul are based on IPv4, the SDAP or PDCP protocol layer constructs an ICMP v4 error message, and the type of the ICMP v4 error message is set to be 3, and the code is set to be 4; if the transmission link of Middle-haul and Back-haul is based on IPv6, the SDAP or PDCP protocol layer constructs an ICMPv6 error message, sets the type of the ICMPv6 error message to be 2 and the code to be 0, sets the MTU of the link layer to be a preset MTU (MTU) which is a preset MTU, and then sends the MTU to the source end of the application layer, namely the sending side, and after receiving the ICMP error message, the source end of the application layer, namely the sending side, correspondingly adjusts (reduces) the length of the UDP message according to the ICMP error message, and regenerates the UDP message, wherein the length of the generated IP message does not exceed the MTU of Middle-haul and Back-haul.
It is understood that, in the present embodiment, the preset length is set based on the MTU of the link layer, and thus the maximum value of the preset length is 1460.
Therefore, in the IP transmission method of the 5G network link of the present invention, when the connection is established between the sending side and the network receiving side based on the UDP, the size of the UDP packet is controlled by the preset size, and in the UDP mode, when the length of the UDP packet transmitted by the sending side is greater than the preset length, the source side adjusts the length of the UDP packet by sending the ICMP error message to the sending side of the source side, thereby controlling the maximum length of a single IP load during the application layer communication, eliminating the IP fragmentation generated by the 5G network transmission layer, and improving the performance of the transmission network.
It should be noted that the IP transmission method of the 5G network link of the present invention may be implemented by combining the methods in fig. 1 and fig. 2 together in one network element, or may be implemented by separating the methods in fig. 1 and fig. 2 on different network elements.
The IP transmission apparatus of the 5G network link provided by the present invention is described below, and the IP transmission apparatus of the 5G network link described below and the IP transmission method of the 5G network link described above may be referred to correspondingly.
The IP transmission apparatus of the 5G network link of the present invention is described below with reference to fig. 3, and the apparatus shown in fig. 3 is applied to the network receiving side and includes:
a first obtaining module 100, configured to obtain handshake information when a sending side establishes a TCP connection.
The second obtaining module 200 is configured to determine a relationship between an MSS carried in the handshake information and a preset MSS.
The modifying module 300 is configured to modify (tamper) the MSS carried in the handshake information into a preset MSS when the MSS carried in the handshake information is greater than the relation of the preset MSS, and send the modified handshake information to the receiving side. And then, a link established between the sending side and the network receiving side, namely a TCP protocol stack, generates a transmission control protocol message according to the preset MSS carried in the modified handshake information, wherein the MSS of the transmission control protocol message is the preset MSS.
In the modification module 300, a sending side, such as a communication terminal, a server, etc., transmits an IP packet according to a preset MSS, and uses a preset MSS finally carried in handshake information or an MSS parameter smaller than the preset MSS as an MSS used by a link, so that after TCP handshake succeeds, according to a TCP protocol, TCP protocol stacks at both ends of communication generate a TCP packet size according to the configured MSS, and the length of the generated IP packet does not exceed the MTU of Middle-haul and Back-haul.
In this embodiment, the preset MSS is set based on the MTU of the link layer, and thus the maximum value of the preset MSS is 1460. Specifically, a preset MSS is configured in a logical network element CU of the 5G base station, and an IP fragment is not generated in a TCP packet that satisfies the preset MSS.
The process of establishing connection by TCP protocol includes three times of handshake messages for negotiating transmission parameters, wherein the three times of handshake messages include MSS and PDCP or SDAP of a logic network element CU of a 5G base station, wherein the SDAP is an optional protocol, a protocol layer can detect TCP link establishment messages of an application layer, and the length of the TCP messages can be controlled by modifying MSS in the handshake messages.
In the present embodiment, the handshake information includes transmission control protocol establishment connection information, i.e., TCP SYN and TCP SYN ACK.
Therefore, the IP transmission device of the 5G network link controls the size of the TCP message through the preset MSS when the connection is established between the sending side and the network receiving side based on the TCP, and modifies the MSS negotiated at the two communication ends into the preset MSS when the MSS negotiated at the two communication ends is larger than the preset MSS in the process of establishing the TCP connection by the upper application, thereby controlling the maximum length of a single IP load during the communication of the application layer, eliminating the IP fragmentation generated by the 5G network transmission layer and improving the performance of the transmission network.
The IP transmission apparatus of the 5G network link of the present invention is described below with reference to fig. 4, and the apparatus shown in fig. 4 is applied to the network receiving side and includes:
a third obtaining module 400, configured to obtain a UDP packet sent by the sending side.
A fourth obtaining module 500, configured to determine a relationship between the length of the UDP packet and a preset length.
An adjusting module 600, configured to generate an ICMP error message when the length of the UDP message is greater than the preset length, and send the ICMP error message to the receiving side. And then, the sending side adjusts the length of the UDP message based on the parameters of the ICMP error message and sends the adjusted UDP message to the network receiving side.
The parameters include:
when a transmission link is based on IPv4, generating an ICMPv4 error message, wherein the parameter of the ICMPv4 error message is type-3 and code-4;
when the transmission link is based on the IPv6, generating an ICMPv6 error message, and setting the MTU of the link layer as a preset MTU, namely setting the MTU as a parameter of the ICMPv6 error message of 'preset MTU' as type-2 and code-0.
When the upper layer application is in a UDP transmission mode and the UDP message is larger than the preset length, the SDAP or PDCP protocol layer of a logic network element CU of the 5G base station can construct an ICMP error message, if the transmission links of Middle-haul and Back-haul are based on IPv4, the SDAP or PDCP protocol layer constructs an ICMP v4 error message, and the type of the ICMP v4 error message is set to be 3, and the code is set to be 4; if the transmission link of Middle-haul and Back-haul is based on IPv6, the SDAP or PDCP protocol layer constructs an ICMPv6 error message, sets the type of the ICMPv6 error message to be 2 and the code to be 0, sets the MTU of the link layer to be a preset MTU (MTU) which is a preset MTU, and then sends the MTU to the source end of the application layer, namely the sending side, and after receiving the ICMP error message, the source end of the application layer, namely the sending side, correspondingly adjusts (reduces) the length of the UDP message according to the ICMP error message, and regenerates the UDP message, wherein the length of the generated IP message does not exceed the MTU of Middle-haul and Back-haul.
It is understood that, in the present embodiment, the preset length is set based on the MTU of the link layer, and thus the maximum value of the preset length is 1460.
Therefore, the IP transmission device of the 5G network link controls the size of the UDP message through the preset size when the connection is established between the sending side and the network receiving side based on the UDP, and under the UDP mode, when the length of the UDP message transmitted by the sending side is larger than the preset length, the source side adjusts the length of the UDP message by sending the ICMP error message to the sending side of the source side, thereby controlling the maximum length of a single IP load during the communication of the application layer, eliminating the IP fragmentation generated by the 5G network transmission layer and improving the performance of the transmission network.
It should be noted that the IP transmission apparatus of the 5G network link of the present invention may be implemented by combining the apparatuses in fig. 3 and fig. 4 together in one network element, or may be implemented by separating the apparatuses in fig. 3 and fig. 4 on different network elements.
Fig. 5 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 5: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. Processor 810 may invoke logic instructions in memory 830 to perform a method of IP transport for a 5G network link, the method comprising the steps of:
acquiring handshake information when a transmission control protocol connection is established at a sending side;
determining the relationship between the maximum message segment length carried in the handshake information and a preset maximum message segment length;
when the maximum message segment length carried in the handshake information is larger than the relationship of the preset maximum message segment length, modifying the maximum message segment length carried in the handshake information into the preset maximum message segment length, and sending the modified handshake information to the sending side; and generating a transmission control protocol message by a link established between the sending side and the network receiving side according to the preset maximum message segment length carried in the modified handshake information, wherein the maximum message segment length of the transmission control protocol message is the preset maximum message segment length.
Or, acquiring a user datagram protocol message sent by a sending side;
determining the relation between the length of the user datagram protocol message and a preset length;
when the length of the user datagram protocol message is larger than the preset length, generating a control message protocol error message, and sending the control message protocol error message to the sending side; and the sending side adjusts the length of the user datagram protocol message based on the parameter of the control message protocol error message and sends the adjusted user datagram protocol message to a network receiving side.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer-readable storage medium, the computer program, when being executed by a processor, being capable of executing the IP transmission method for a 5G network link provided by the above methods, the method comprising the steps of:
acquiring handshake information when a transmission control protocol connection is established at a sending side;
determining the relationship between the maximum message segment length carried in the handshake information and a preset maximum message segment length;
when the maximum message segment length carried in the handshake information is larger than the relationship of the preset maximum message segment length, modifying the maximum message segment length carried in the handshake information into the preset maximum message segment length, and sending the modified handshake information to the sending side; and generating a transmission control protocol message by a link established between the sending side and the network receiving side according to the preset maximum message segment length carried in the modified handshake information, wherein the maximum message segment length of the transmission control protocol message is the preset maximum message segment length.
Or, acquiring a user datagram protocol message sent by a sending side;
determining the relation between the length of the user datagram protocol message and a preset length;
when the length of the user datagram protocol message is larger than the preset length, generating a control message protocol error message, and sending the control message protocol error message to the sending side; and the sending side adjusts the length of the user datagram protocol message based on the parameter of the control message protocol error message and sends the adjusted user datagram protocol message to a network receiving side.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing an IP transmission method for a 5G network link provided by the above methods, the method comprising the steps of:
acquiring handshake information when a transmission control protocol connection is established at a sending side;
determining the relationship between the maximum message segment length carried in the handshake information and a preset maximum message segment length;
when the maximum message segment length carried in the handshake information is larger than the relationship of the preset maximum message segment length, modifying the maximum message segment length carried in the handshake information into the preset maximum message segment length, and sending the modified handshake information to the sending side; and generating a transmission control protocol message by a link established between the sending side and the network receiving side according to the preset maximum message segment length carried in the modified handshake information, wherein the maximum message segment length of the transmission control protocol message is the preset maximum message segment length.
Or, acquiring a user datagram protocol message sent by a sending side;
determining the relation between the length of the user datagram protocol message and a preset length;
when the length of the user datagram protocol message is larger than the preset length, generating a control message protocol error message, and sending the control message protocol error message to the sending side; and the sending side adjusts the length of the user datagram protocol message based on the parameter of the control message protocol error message and sends the adjusted user datagram protocol message to a network receiving side.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An IP transmission method of a 5G network link is applied to a network receiving side, and is characterized by comprising the following steps:
acquiring handshake information when a transmission control protocol connection is established at a sending side;
determining the relationship between the maximum message segment length carried in the handshake information and a preset maximum message segment length;
when the maximum message segment length carried in the handshake information is larger than the relationship of the preset maximum message segment length, modifying the maximum message segment length carried in the handshake information into the preset maximum message segment length, and sending the modified handshake information to the sending side; and generating a transmission control protocol message by a link established between the sending side and the network receiving side according to the preset maximum message segment length carried in the modified handshake information, wherein the maximum message segment length of the transmission control protocol message is the preset maximum message segment length.
2. The IP transmission method of the 5G network link of claim 1, wherein the preset maximum packet segment length is set based on a maximum transmission unit of a link layer.
3. The IP transmission method of the 5G network link according to claim 1, wherein the handshake information comprises transmission control protocol setup connection information.
4. An IP transmission method of a 5G network link is applied to a network receiving side, and is characterized by comprising the following steps:
acquiring a user datagram protocol message sent by a sending side;
determining the relation between the length of the user datagram protocol message and a preset length;
when the length of the user datagram protocol message is larger than the preset length, generating a control message protocol error message, and sending the control message protocol error message to the sending side; and the sending side adjusts the length of the user datagram protocol message based on the parameter of the control message protocol error message and sends the adjusted user datagram protocol message to a network receiving side.
5. The IP transmission method of 5G network link according to claim 4, wherein the parameters comprise:
when a transmission link is based on IPv4, generating an ICMPv4 error message, wherein the parameter of the ICMPv4 error message is type-3 and code-4;
when a transmission link is based on IPv6, generating an ICMPv6 error message, setting a maximum transmission unit of a link layer as a preset maximum transmission unit, setting a parameter of the ICMPv6 error message as type to be 2, and setting a code to be 0.
6. An IP transmission apparatus of a 5G network link, applied to a network receiving side, includes:
the first acquisition module is used for acquiring handshake information when the transmission control protocol connection is established at the sending side;
a second obtaining module, configured to determine a relationship between a maximum packet segment length carried in the handshake information and a preset maximum packet segment length;
a modification module, configured to modify the maximum packet segment length carried in the handshake information to the preset maximum packet segment length when the maximum packet segment length carried in the handshake information is greater than the relationship of the preset maximum packet segment length, and send the modified handshake information to the sending side; and generating a transmission control protocol message by a link established between the sending side and the network receiving side according to the preset maximum message segment length carried in the modified handshake information, wherein the maximum message segment length of the transmission control protocol message is the preset maximum message segment length.
7. An IP transmission apparatus of a 5G network link, applied to a network receiving side, includes:
the third acquisition module is used for acquiring a user datagram protocol message sent by a sending side;
a fourth obtaining module, configured to determine a relationship between a length of the user datagram protocol packet and a preset length;
the adjusting module is used for generating a control message protocol error message when the length of the user datagram protocol message is larger than the preset length, and sending the control message protocol error message to the sending side; and the sending side adjusts the length of the user datagram protocol message based on the parameter of the control message protocol error message and sends the adjusted user datagram protocol message to a network receiving side.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor when executing the program realizes the steps of the IP transmission method of the 5G network link according to any of claims 1 to 5.
9. A non-transitory computer readable storage medium, having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, is adapted to carry out the steps of the IP transmission method of a 5G network link according to any of the claims 1 to 5.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the IP transmission method of a 5G network link according to any one of claims 1 to 5.
CN202111266555.7A 2021-10-28 2021-10-28 IP transmission method, device, equipment and product of 5G network link Withdrawn CN114039933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111266555.7A CN114039933A (en) 2021-10-28 2021-10-28 IP transmission method, device, equipment and product of 5G network link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111266555.7A CN114039933A (en) 2021-10-28 2021-10-28 IP transmission method, device, equipment and product of 5G network link

Publications (1)

Publication Number Publication Date
CN114039933A true CN114039933A (en) 2022-02-11

Family

ID=80142291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111266555.7A Withdrawn CN114039933A (en) 2021-10-28 2021-10-28 IP transmission method, device, equipment and product of 5G network link

Country Status (1)

Country Link
CN (1) CN114039933A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629974A (en) * 2022-05-10 2022-06-14 新华三技术有限公司 Message transmission method, device and equipment
CN115022252A (en) * 2022-05-31 2022-09-06 青岛海信移动通信技术股份有限公司 Method and equipment for configuring maximum length of transmission data packet
CN115022419A (en) * 2022-06-30 2022-09-06 武汉思普崚技术有限公司 Method, device and storage medium for automatically adjusting MSS
CN115052049A (en) * 2022-06-15 2022-09-13 北京天融信网络安全技术有限公司 Message forwarding method and system based on IPsec tunnel

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629974A (en) * 2022-05-10 2022-06-14 新华三技术有限公司 Message transmission method, device and equipment
CN115022252A (en) * 2022-05-31 2022-09-06 青岛海信移动通信技术股份有限公司 Method and equipment for configuring maximum length of transmission data packet
CN115052049A (en) * 2022-06-15 2022-09-13 北京天融信网络安全技术有限公司 Message forwarding method and system based on IPsec tunnel
CN115022419A (en) * 2022-06-30 2022-09-06 武汉思普崚技术有限公司 Method, device and storage medium for automatically adjusting MSS
CN115022419B (en) * 2022-06-30 2024-02-20 武汉思普崚技术有限公司 Method, device and storage medium for automatically adjusting MSS

Similar Documents

Publication Publication Date Title
CN114039933A (en) IP transmission method, device, equipment and product of 5G network link
JP7142722B2 (en) Transmission control method and device
US7710995B2 (en) Method and system for out-of-band signaling for TCP connection setup
JP4164365B2 (en) Technology for improving TCP performance over a wireless interface by providing a dual proxy device
EP2866395B1 (en) Maximum transmission unit negotiation method and data terminal
US9154369B2 (en) Method, apparatus and software for packet modification
JP7087020B2 (en) Call execution method and device using LTE system
CN111163037A (en) IP fragmentation optimization method and device
CN109067796A (en) A kind of data transmission method and device
CN114172948A (en) IP transparent transmission gateway transmission system and method based on UDP
CN107968726B (en) Equipment network management method for power system
US20150032807A1 (en) System And Method For Network Access Based On Application Layer Data
CN104796887A (en) Method and device for safely exchanging information
CN108092993B (en) Network data transmission control method and system
Lindquister et al. Proxy pair optimizations for increased service reliability in DIL networks
WO2014205819A1 (en) Link establishing method, node and apparatus
US11470502B2 (en) Congestion notification by data packet from intermediate node
WO2018097073A1 (en) Information notification device, information notification method, and recording medium having program recorded thereon
CN113207190B (en) Method, device and equipment for processing access layer IP packet
CN112333072B (en) Internet of things enhanced Non-IP data transmission method and device
JP2004080413A (en) Communication system, communication device, and communication method
CN116016396A (en) Processing method, processing device, processing equipment and medium for resending message
JP2004208042A (en) Gateway device and communication system
KR20080026790A (en) Method and apparatus for setting up point to point protocol link between mobile terminal and inter working function
KR20090085407A (en) Apparatus and method for configuraing end to end compression channel in broadband wireless communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220211