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

High-speed PPP implementation method for wireless data card in Linux system

A technology of a wireless data card and an implementation method, applied in the field of data communication, can solve the problems of low rate and efficiency of sending and receiving messages, complicated user program implementation, etc., and achieve the effects of simplifying application design, improving the performance of sending and receiving packets, and simplifying user programs.

Active Publication Date: 2017-02-01
ANHUI WANTONG POSTS & TELECOMM CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In the above-mentioned original PPP mode, the module presents a Modem interface to the system side, and the driver module is only responsible for creating the corresponding character device, and the user program needs to complete dialing, packet, packet sending, cyclic packet receiving, decapsulation message, and abnormal message processing , hang up and other complicated operations, the realization of user programs is often relatively complicated, due to the use of serial character device drivers, the rate and efficiency of sending and receiving messages are very low

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
  • High-speed PPP implementation method for wireless data card in Linux system
  • High-speed PPP implementation method for wireless data card in Linux system
  • High-speed PPP implementation method for wireless data card in Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] A high-speed PPP implementation method of a wireless data card on a Linux system according to the present invention will be described below in conjunction with the accompanying drawings.

[0030] attached figure 2 Shown is a schematic diagram of the data card PPP dial-up Internet access scheme in the present invention, and its operation steps are as follows:

[0031] 1. The kernel recognizes the Modem interface and creates corresponding character devices and network devices;

[0032] 2. The user program realizes dialing by reading and writing character devices;

[0033] 3. The user program creates a socket and monitors and waits for the network port to receive packets;

[0034] 4. Send a message through socket send when there is a packet;

[0035] 5. The network interface can send and receive messages directly through the kernel forwarding.

[0036] attached image 3 Shown is that network driver processes Modem interface sending and receiving message process among...

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 the field of data communication, and in particular relates to a high-speed PPP implementation method for a wireless data card in a Linux system. The existing PPP dial-up networking rate is low. In the scheme provided in the invention, for a Modem interface of a wireless module, character equipment is created and used for dialling up and hanging up; network equipment is created and used for performing message processing; the fact that only one equipment driver can access a practical Modem interface at the same time can be ensured through a mutual exclusion mechanism; a message practically received and sent from the Modem interface is a meaning transferred PPP message; after receiving the PPP message, a network interface needs to identify and extract an original message, remove transferred meanings, check a FCS, perform Ethernet head calculation and package; when the message is sent, an Ethernet head is analyzed and peeled; calculation is carried out; and the FCS and character transferred meanings are added. Because a network interface model of a kernel is used, the packet receiving and sending performance is greatly improved; because the driver completes nearly all message processing, a user program is simplified; and the separated character equipment is independently used for dialling up and hanging up, so that the user process is relatively convenient to process.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method for realizing high-speed PPP of a wireless data card on a Linux system. Background technique [0002] In the era of 3G technology, the data card module mainly uses PPP dial-up mode to access the Internet. There is also a complete set of solutions to support PPP dial-up Internet access on the Linux system. The drivers of related solutions in the kernel state mainly include tty serial port drivers and usb serial port drivers. The serial port itself is a low-speed device, the tty serial port driver is also a low-speed device driver, and the usb serial port driver is also designed for low-speed USB devices, limited by the constraints of the implementation scheme. In practical applications, the speed of PPP dial-up Internet access is often very low, usually only up to 2Mbps within. [0003] In the era of 3G technology, the bandwidth that the wireless side can provide is rel...

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/28
CPCH04L12/2859
Inventor 唐成波
Owner ANHUI WANTONG POSTS & TELECOMM CO LTD