Message fragmentation sending method and device and fragmented message restoring method and device
A technology of packet fragmentation and sending method, applied in the field of computer network, can solve problems such as inability to apply packets and data fragmentation, etc., and achieve the effect of improving transmission efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2014-09-24
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of computer networks, in particular to a method and device for sending message fragments, and a method and device for restoring fragmented messages. Background technique
[0002] A virtual private network (Virtual private network, VPN) refers to a logical virtual subnet formed by connecting physically distributed networks in different locations through a public network. It uses authentication, access control, confidentiality, and data integrity security mechanisms to build a private network on the public network, so that data can be transmitted in the public network through a secure "encrypted pipeline".
[0003] A maximum transmission unit (Maximum transmission unit, MTU) is an attribute used to define the maximum length of a packet transmitted in a network. If the length of the packet to be transmitted is greater than the MTU, the network layer needs to fragment the packet.
[0004] figure 1 It is a sch...
Examples
Embodiment Construction
[0041] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.
[0042] figure 2 A first embodiment of the invention is shown.
[0043] figure 2 It is a flow chart of the method for sending message fragments provided by the first embodiment of the present invention. The method for sending packets in fragments is executed by a sending terminal that sends packets through a VPN. The sending terminal may be a personal computer, a workstation or a server. see figure 2 , the message fragmentation method includes:
[0044] S210. Generate message header information with a predetermined len...