Multiple tunnel concurrent model implementation method based on virtual network card technology

A virtual network card and model implementation technology, applied in the direction of network interconnection, data exchange network, data exchange through path configuration, etc., can solve problems such as performance defects, achieve performance improvement, and solve low performance effects

Active Publication Date: 2010-01-13
LINKAGE SYST INTEGRATION
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using the tup driver to implement such an application, additional data communication is required between the process

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
  • Multiple tunnel concurrent model implementation method based on virtual network card technology
  • Multiple tunnel concurrent model implementation method based on virtual network card technology
  • Multiple tunnel concurrent model implementation method based on virtual network card technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] As shown in the figure: Based on the virtual network card technology, the multi-tunnel concurrency model that supports large concurrency and large data volumes is implemented. The file description word for network card communication; when the virtual network card receives the data forwarded by the protocol stack, it forwards the data packet to the corresponding file description word according to the destination address (virtual address) of the data packet, so that it can be handed over to the correct processing process. deal with.

[0032] The implementation process of the virtual network card driver is as follows: Principle Description

[0033] 1) Start the virtual network card

[0034] When the virtual network card is started, the corresponding relationship between the file description word and the virtual network card is no longer established. The virtual network card driver only completes the basic work such as IP address setting and routing setting;

[0035] 2) ...

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 invention relates to a multiple tunnel concurrent model implementation method based on virtual network card technology, which comprises the following steps: when a tunnel is built, a virtual address is obtained by applying the processing course of the procedure, the use case of the virtual network card is carried out, file description words communicating with the virtual network card are established; after the virtual network card receives the data transmitted by a protocol stack, transmits the data packet to the corresponding file description words according to the destination address of a data packet, thus processing the data packet by the right processing course; the processing course of every tunnel is divided into tunnel establishment, data transmitting and tunnel dismantling; when the tunnel is established, a client sends tunnel establishing requests, a new course of the application procedure fork of a tunnel gateway processes the requests; after the tunnel is successfully established, the tunnel gateway is responsible for transmitting the communication data between the client end and an application server; when the client end cuts tcp connection or over time, the tunnel connection is dismantled; the tunnel gateway recovers the virtual address distributed by a recovering address pool, and the virtual example of the virtual network card is canceled.

Description

1. Technical field [0001] The invention relates to a method for realizing a multi-tunnel concurrent model based on virtual network card technology. Data processing involving a large amount of concurrency and a large amount of data requires a method for multiple processes or threads to interact with the virtual network card concurrently. 2. Background technology [0002] The virtual network card technology is widely used in the VPN field, such as the open source project OpenVpn, which uses the tun / tap driver to realize the function of the virtual network card. [0003] When the application program using the tun driver initializes the virtual network card, a file description word fd will be created. After that, the application program will exchange data with the virtual network card through the file description word. [0004] The TCP application model with large concurrency and large data volume usually handles an independent Tcp connection by one process or one thread. By en...

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
IPC IPC(8): H04L12/46H04L29/06H04L12/56H04L29/12
Inventor 黄林杨震张尊平沈超任建国陆志强庞海东
Owner LINKAGE SYST INTEGRATION
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