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

A high-speed ppp implementation method of wireless data card on 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: 2019-04-12
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
  • A high-speed ppp implementation method of wireless data card on linux system
  • A high-speed ppp implementation method of wireless data card on linux system
  • A high-speed ppp implementation method of wireless data card on linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

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

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

[0031] 3. The user program creates a socket and listens to wait for the network port to receive packets;

[0032] 4. Send packets through socket send when there are packets;

[0033] 5. The network interface can send and receive packets directly through the kernel.

[0034] attached image 3 Shown is the process of sending and receiving packets from the Modem interface by the network driver in the present inventi...

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 high-speed PPP implementation method 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 to access the Internet. There is also a complete set of solutions to support PPP dial-up Internet access on Linux systems. The drivers of the kernel-mode related solutions mainly include tty serial port driver and usb serial port driver. 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. Due to the constraints of the implementation scheme, the PPP dial-up Internet access rate in practical applications is often very low, usually only up to 2Mbps within. [0003] In the era of 3G technology, the bandwidth that can be provided by the wireless side is relatively limited...

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