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

CN104065591AInactive Publication Date: 2014-09-24GUANGDONG EFLYCLOUD COMPUTING CO LTD
5 Cites 11 Cited by

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 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention discloses a message fragmentation sending method and device and a fragmented message restoring method and device. The message fragmentation sending method comprises the steps that message header information, with the preset length, of a data link layer is generated; data, with the preset length, located at the beginning position of original messages, and the message header information with the preset length are combined to form fragmented information messages of the data link layer; the remaining data in the original messages except the data, with the preset length, located at the beginning position and the message header information with the preset length are combined to form remaining information messages of the data link layer; the fragmented information messages and fragmentation identification and fragmentation sequence numbers in the message header information of the remaining information messages are set. According to the message fragmentation sending method and device and the fragmented message restoring method and device, the phenomena that the messages are recombined by a network device which the messages pass through and fragmentations of the messages can not be suitable for all the messages are prevented, and therefore the transmission efficiency of the messages is improved.
Need to check novelty before this filing date? Find Prior Art

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...