Automatic user-mode 3G-USB network interface card detecting method based on Linux kernel

A 3G-USB, user-mode technology, applied in the computer field, can solve the problems of many modifications, affecting performance, and inflexibility, and achieve the effect of improving reliability

Inactive Publication Date: 2014-05-07
OPZOON TECH
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Use the standard interface definition in Linux to call the kernel function through the method of device ioctl. The characteristic of this type of interface is that if it is called frequently, it will affect the performance. It is strongly related to the kernel and has many modifications, which is not flexible enough.

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
  • Automatic user-mode 3G-USB network interface card detecting method based on Linux kernel
  • Automatic user-mode 3G-USB network interface card detecting method based on Linux kernel
  • Automatic user-mode 3G-USB network interface card detecting method based on Linux kernel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0025] The embodiment of the present invention provides a method for automatically detecting a 3G-USB network card based on the Linux kernel in user state, and the step flow chart is as follows figure 2 As shown, it specifically includes the following steps:

[0026] Step S1: Save the device information of all devices detected by the Linux kernel in the form of files, wherein all devices are all devices on the USB bus.

[0027] The flow chart of step S1 is as follows image 3 As shown, it specifically includes the following steps:

[0028] Step S11, during the startup process of the Linux kernel, execute the modified script, and mount the storage device in the hardware device through the Linux command, wherein the modified script is pre-written before starting the Linux kernel, and is only executed after starting the Linux kernel.

[0029] Specifical...

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 an automatic user-mode 3G-USB network interface card detecting method based on a Linux kernel. According to the method, equipment information, detected by the Linux kernel, of all equipment is saved in a file mode, wherein all the equipment is equipment on a USB; scanning is performed on all the equipment on the BUS so as to extract 3G-USB network interface card information; the 3G-USB network card information is saved so as to drive 3G-USB user-mode initialization. According to the method, due to the facts that the equipment information, detected by the kernel, of all the equipment on the BUS is saved in the file mode, saved files are opened when a user-mode driver is loaded and the 3G-USB network card information is extracted from the files, the possibility is provided for automatic user-mode 3G-USB network card detecting and automatic 3G-USB network card information obtaining, and only a small amount of modification needs to be conducted on the kernel so that the situation that equipment performance is influenced due to the fact that the kernel is modified many times can be avoided. The method is simple and easy to implement, and improves the reliability of an operation system.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method for automatically detecting a 3G-USB network card in a user state based on a Linux kernel. Background technique [0002] In the computer, other external hardware devices except the CPU are multi-functional tools, so the driver plays an important role in the system. Generally, after the operating system is installed, the driver of the hardware device, such as a sound card, must be installed. , graphics card, network card and other hardware devices, because the drivers of these hardware devices cannot be connected into the operating system, you need to install additional drivers. In the Linux system, device drivers are divided into user mode drivers and kernel mode drivers. The structures and functions of the user mode and kernel mode in the system are as follows: figure 1 shown. When a task (process) executes a system call and falls into the execution of the kernel co...

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 Applications(China)
IPC IPC(8): G06F9/445
Inventor 高福亮
Owner OPZOON TECH
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