Message encapsulation method and device, message decapsulation method and device

A technology of message encapsulation and decapsulation, which is applied in the field of computer networks, can solve the problems of low efficiency of message encapsulation, achieve the effect of reducing the amount of data copying, improving efficiency, and avoiding data copying

Active Publication Date: 2018-01-30
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above two encapsulation operations will cause a large number of data copy operations, resulting in low efficiency of packet encapsulation

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
  • Message encapsulation method and device, message decapsulation method and device
  • Message encapsulation method and device, message decapsulation method and device
  • Message encapsulation method and device, message decapsulation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] 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.

[0035] figure 1 A first embodiment of the invention is shown.

[0036] figure 1 It is a flow chart of the packet encapsulation method provided by the first embodiment of the present invention. The message encapsulation method is executed by the terminal sending the message through the VPN. The terminal may be a personal computer, a workstation or a server. see figure 1 , the message encapsulation method includes:

[0037] S110. Generate message header information with a predetermined length.

[0038] The process of pack...

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 discloses a message encapsulation method and device, and a message decapsulation method and device. The message encapsulation method includes: generating message header information of a predetermined length; splicing data of a predetermined length at the beginning of the original message to the end of the original message; covering the beginning of the original message with the generated message header information data of a predetermined length. The message encapsulation method and device, and the message decapsulation method and device provided in the embodiments of the present invention reduce data copying in the process of message encapsulation and decapsulation, and improve the efficiency of message encapsulation and decapsulation.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a message encapsulation method and device, and a message decapsulation method and device. 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] Packet encapsulation is a key technology in virtual private network. By encapsulating the packets to be transmitted, a virtual pipeline can be established between nodes on the public network, thereby building a private network on the public network. [0004] Existing packet encapsulation technologies mainly include L...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/46H04L29/12
Inventor 梁润强刘杰麦剑闵宇
Owner GUANGDONG EFLYCLOUD COMPUTING 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