Unlock instant, AI-driven research and patent intelligence for your innovation.

A data processing method and device applied to l2tp

A data processing device and data processing technology, applied in the field of communication, can solve the problems of large code changes and heavy workload of developers, and achieve the effect of expanding the scope of use

Active Publication Date: 2018-11-27
RAISECOM TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0020] 3. The select function monitoring can be replaced with other functions such as epoll function, etc., then the code changes of this module will be relatively large, which will bring a lot of workload to developers

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
  • A data processing method and device applied to l2tp
  • A data processing method and device applied to l2tp
  • A data processing method and device applied to l2tp

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined arbitrarily with each other.

[0040] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0041] figure 1 It is a flowchart of a data processing method applied in L2TP provided by an embodiment of the present invention. Although the processes described below include multiple operations occurring in a particular order, it should be clearly under...

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 discloses a data processing method and device applied to an L2TP, wherein the method comprises the steps of: in response to a request for creating an L2TP tunnel, establishing sockets of a preset number; judging whether file descriptors corresponding to the sockets met a preset monitoring condition; if yes, distributing the file descriptors corresponding to the sockets to a monitoring sequence of a select function; and if not, distributing the file descriptors corresponding to the sockets to the part, capable of accommodating the file descriptors, behind the monitoring sequence of the select function. According to the invention, the usage rang of the select function for monitoring is expanded.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a data processing method and device applied in Layer 2 Tunneling Protocol (L2TP, Layer2Tunneling Protocol). Background technique [0002] In L2TP networking, the select function is often used to determine the status of one or more sockets. For each socket, the caller can query its readability, writability, and error status information. Specifically, the fd_set structure can be used to represent a group of sockets waiting to be checked. When the call returns, this structure stores a subset of socket groups that meet certain conditions, and the select function returns the number of sockets that meet the conditions. [0003] In the prior art, there is a set of macros in the linux system that can be used to operate fd_set, specifically as follows: [0004] #define FD_SETSIZE__FD_SETSIZE [0005] #define__FD_SETSIZE 1024 [0006] __NFDBITS(8*(int)sizeof(__fd_mask)) ...

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): H04L29/06
CPCH04L69/162
Inventor 杨青智田海燕
Owner RAISECOM TECH