CN101662838B - Device, method and USB data card for realizing internet surfing without drive - Google Patents
Device, method and USB data card for realizing internet surfing without drive Download PDFInfo
- Publication number
- CN101662838B CN101662838B CN2009100933385A CN200910093338A CN101662838B CN 101662838 B CN101662838 B CN 101662838B CN 2009100933385 A CN2009100933385 A CN 2009100933385A CN 200910093338 A CN200910093338 A CN 200910093338A CN 101662838 B CN101662838 B CN 101662838B
- Authority
- CN
- China
- Prior art keywords
- data packet
- ppp
- hid
- module
- protocol stack
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000004806 packaging method and process Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 claims description 5
- 230000003287 optical effect Effects 0.000 claims description 2
- 230000002155 anti-virotic effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/38—Universal adapter
- G06F2213/3804—Memory card connected to a computer port directly or by means of a reader/writer
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a device for realizing internet surfing without drive. The device comprises: a configuration module, CDROM and a protocol stack module. The invention simultaneously discloses a method for realizing internet surfing without drive, and by providing HID configuration information and CDROM configuration information of a computer, the method causes the computer to run an HID drive and execute a dialer, network protocol stack and connection indication program stored in CDROM on a USB data card, and can realize the function of internet surfing with a user not necessarily installing a drive on a computer. The invention simultaneously discloses a USB data card for realizing internet surfing without drive, and the data card comprises: a configuration module, CDROM and a protocol stack module. The adoption of the device, the method and the data card can cause the use of the USB data card to be exempt from the limit of computer software environment.
Description
Technical Field
The present invention relates to network access technologies, and in particular, to a device and a method for implementing drive-free internet access, and a Universal Serial BUS (USB) data card.
Background
With the development of 3G mobile communication technology, users have made higher demands on wireless network services, for example, they have demanded to be able to use wireless network services conveniently and quickly, to be able to upload and download quickly, and so on, and the wireless network access mode through mobile phones and so on has not been able to meet the above demands of users, and the wireless network access mode through USB data cards has the advantage of being able to realize fast download and browsing of large-capacity files, so that it becomes one of better alternative modes of wireless network access mode through mobile phones and so on. At present, the USB data card adopts a Point-to-Point Protocol (PPP) module and an Abstract Control Model (ACM) module to implement communication with a computer, so that when the USB data card is used, a user firstly needs to install an ACM driver on the computer to encapsulate an ACM data packet sent to the USB data card, or decapsulate the ACM data packet sent by the USB data card, and install User Interface (UI) application software to establish dial-up connection, which does not meet the requirement of the user on the convenience and rapidness of using the wireless network access device; and the installation of the ACM driver and the UI application software is limited by user authority, anti-virus software or monitoring software, so that when the USB data card is used on some computers, the user authority needs to be upgraded and/or the anti-virus software and the monitoring software need to be replaced, the convenience of using the USB data card is also influenced, and the popularization and the use of the USB data card are influenced.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a device and a method for implementing drive-free internet access, and a USB data card, so that a wireless network can be conveniently and quickly accessed through the USB data card.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a device for realizing drive-free internet surfing comprises: the device comprises a configuration module, a read-only optical disk CDROM and a protocol stack module; wherein,
the configuration module is used for providing self-stored Human Interface Device (HID) configuration information for the computer and indicating the computer to operate the HID driver; providing CDROM configuration information stored in the computer, instructing the computer to operate CDROM drive, loading dialing software, a network protocol stack and a connection indicating program in an executable file format stored in a CDROM of a USB data card into a memory, executing the dialing software to generate a dialing request, executing the network protocol stack, executing the connection indicating program to connect the network protocol stack and the HID drive, and connecting an upper application layer and the network protocol stack;
the CDROM is used for storing the dialing software, the network protocol stack and the connection indicating program in an executable file format;
and the protocol stack module is used for connecting the HID driver and the network side through a USB interface.
Further, the executable file format is a Win32 executable file format.
Further, the network protocol stack comprises a protocol IP protocol layer and a point-to-point protocol PPP protocol layer which are interconnected among networks; wherein,
the IP protocol layer is used for encapsulating the dialing request generated by the dialing software or the data sent by the upper application layer to obtain an IP data packet and sending the IP data packet to the PPP protocol layer; decapsulating the received IP data packet to obtain an IP address and sending the IP address to dialing software, or obtaining data and sending the data to an upper application layer;
the PPP protocol layer is used for encapsulating the received IP data packet to obtain a PPP data packet and sending the PPP data packet to the HID driver; decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to an IP protocol layer;
the HID driver is used for encapsulating the received PPP data packet to obtain an HID message and sending the HID message to the protocol stack module through the USB interface; and decapsulating the HID message sent by the protocol stack module to obtain a PPP data packet and sending the PPP data packet to a PPP protocol layer.
Further, the protocol stack module comprises an HID module and a PPP module; wherein,
the HID module is used for de-encapsulating the HID message sent by the HID driver to obtain a PPP data packet and sending the PPP data packet to the PPP module; packaging PPP data sent by the PPP module to obtain an HID message and sending the HID message to the HID driver through the USB interface;
the PPP module is used for decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to a network side; and the IP data packet sent from the network side is encapsulated into a PPP data packet and sent to the HID module.
Further, the apparatus further comprises:
and the memory management module is used for releasing memory space occupied by the dialing software, the network protocol stack and the connection indicating program when the situation that the dialing software, the network protocol stack and the connection indicating program are not executed in a set time period of the computer is monitored.
The invention also provides a method for realizing drive-free internet surfing, which comprises the following steps:
the USB data card provides HID configuration information stored in the USB data card for the computer and indicates the computer to operate HID drive;
the USB data card provides CDROM configuration information stored by the USB data card for a computer, provides the CDROM configuration information, instructs the computer to operate CDROM drive, loads dialing software, a network protocol stack and a connection instruction program in an executable file format stored in the CDROM of the USB data card into a memory, executes the dialing software to generate a dialing request, executes the network protocol stack, and executes the connection instruction program to connect the network protocol stack and the HID drive and connect an upper application layer and the network protocol stack;
and the USB data card is connected with the HID driver and the network side through a USB interface.
Further, the network protocol stack comprises an IP protocol layer and a PPP protocol layer; the protocol stack module comprises an HID module and a PPP module;
after the dialing software is operated to generate a dialing request, the method further comprises the following steps:
the IP protocol layer encapsulates the dialing request to obtain an IP data packet and sends the IP data packet to the PPP protocol layer; the PPP protocol layer encapsulates the received IP data packet to obtain a PPP data packet and sends the PPP data packet to the HID driver; the HID driver encapsulates the received PPP data packet to obtain an HID message, and sends the HID message to the HID module through the USB interface; the HID module decapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to the PPP module; the PPP module decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to a network side;
the PPP module encapsulates the IP data packet sent from the network side into a PPP data packet and sends the PPP data packet to the HID module; the HID module de-encapsulates the received PPP data to obtain an HID message and sends the HID message to the HID driver through the USB interface; the HID driver de-encapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to a PPP protocol layer; the PPP protocol layer decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to the IP protocol layer; and the IP protocol layer decapsulates the received IP data packet to obtain an IP address and sends the IP address to the dialing software to complete dialing connection.
Further, after the dial-up connection is completed, the method further comprises:
the IP protocol layer encapsulates data sent by the upper application layer to obtain an IP data packet and sends the IP data packet to the PPP protocol layer; the PPP protocol layer encapsulates the received IP data packet to obtain a PPP data packet and sends the PPP data packet to the HID driver; the HID driver encapsulates the received PPP data packet to obtain an HID message, and sends the HID message to the HID module through the USB interface; the HID module decapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to the PPP module; the PPP module decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to a network side;
the PPP module encapsulates the IP data packet sent from the network side into a PPP data packet and sends the PPP data packet to the HID module; the HID module de-encapsulates the received PPP data to obtain an HID message and sends the HID message to the HID driver through the USB interface; the HID driver de-encapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to a PPP protocol layer; the PPP protocol layer decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to the IP protocol layer; and the IP protocol layer decapsulates the received IP data packet to obtain data and sends the data to the upper application layer, so that the Internet access function is realized.
Further, after the internet surfing is finished, the method further comprises the following steps:
and when the situation that the computer does not execute the dialing software, the network protocol stack and the connection indicating program in a set time period is monitored, releasing the memory space occupied by the dialing software, the network protocol stack and the connection indicating program.
The invention also provides a USB data card for realizing drive-free internet surfing, which comprises: the device comprises a configuration module, a CDROM and a protocol stack module; wherein,
the configuration module is used for providing the HID configuration information of the human interface equipment stored in the configuration module for the computer and indicating the computer to operate the HID driver; providing CDROM configuration information stored in the computer, instructing the computer to operate CDROM drive, loading dialing software, a network protocol stack and a connection indicating program in an executable file format stored in a CDROM of a USB data card into a memory, executing the dialing software to generate a dialing request, executing the network protocol stack, executing the connection indicating program to connect the network protocol stack and the HID drive, and connecting an upper application layer and the network protocol stack;
the CDROM is used for storing the dialing software, the network protocol stack and the connection indicating program in an executable file format;
and the protocol stack module is used for connecting the HID driver at the computer side and the network side through the USB interface.
Further, the protocol stack module comprises an HID module and a PPP module; wherein,
the HID module is used for de-encapsulating the HID message sent by the HID driver to obtain a PPP data packet and sending the PPP data packet to the PPP module; packaging PPP data sent by the PPP module to obtain an HID message and sending the HID message to the HID driver through the USB interface;
the PPP module is used for decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to a network side; and the IP data packet sent from the network side is encapsulated into a PPP data packet and sent to the HID module.
The device and the method for realizing drive-free internet surfing and the USB data card provided by the invention have the advantages that the HID drive is operated by the computer by providing the HID configuration information and the CDROM configuration information of the computer, the dialing software, the network protocol stack and the connection indicating program stored in the CDROM on the USB data card are executed, the internet surfing function can be realized without installing the drive on the computer by a user, and the USB data card can be conveniently and quickly accessed into a wireless network. The system and the method provided by the invention also have the following advantages and characteristics:
1. the dialing software, the network protocol stack and the connection indication program are all stored in the form of executable files, the influence of the computer software environment is small, most of computer operating systems are integrated with CDROM drive and HID drive, for example, operating systems such as windows, MAC and linux are integrated with CDROM drive and HID drive, CDROM drive and HID drive do not need to be installed, namely the limitation of the computer software environment is avoided, and the limitation of the computer software environment on the use of the USB data card is reduced;
2. because the executable file can be loaded into the memory, when the executable file is not executed any more, the memory management module of the computer can automatically release the memory occupied by the executable file, therefore, the dialing software, the network protocol stack and the connection indication program are stored on the USB data card in the format of the executable file, when the USB data card is used, the computer directly loads the dialing software, the network protocol stack and the connection indication program into the memory and executes the dialing software, and after the use of the USB data card is finished, the memory management module of the computer automatically releases the dialing software, the network protocol stack and the connection indication program, so that the dialing software, the network protocol stack and the connection indication program cannot be remained in the computer, namely, a use trace cannot be left in the computer.
Drawings
Fig. 1 is a schematic structural diagram of a device for driving-free internet access according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a method for implementing drive-free internet access according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a USB data card for implementing drive-free internet access according to an embodiment of the present invention.
Detailed Description
The basic principle of the invention is as follows: the method comprises the steps of providing HID configuration information and CDROM configuration information of a computer, enabling a CDROM drive and an HID drive which are integrated with an operating system of the computer to run the HID drive, executing dialing software, a network protocol stack and a connection indication program which are stored in a CDROM on a USB data card, indirectly connecting an upper application layer with the HID drive at the computer side, connecting the HID drive with a protocol stack module of the USB data card through a USB interface, and further indirectly connecting the upper application layer at the computer side with the network side.
The structure of the device for realizing drive-free internet surfing according to the embodiment of the invention is shown in fig. 1, and comprises: the USB interface module comprises a configuration module, a CDROM (compact disc read-Only memory) and a protocol stack module which are arranged on a USB data card, and an execution module arranged on a computer; wherein,
the configuration module is used for providing HID configuration information stored in the configuration module for the computer; and providing the CDROM configuration information stored by the computer;
the CDROM is used for storing the dialing software, the network protocol stack and the connection indicating program in an executable file format;
the protocol stack module is used for connecting the HID driver and the network side through a USB interface;
the execution module is used for operating the HID drive according to the received HID configuration information; running a CDROM drive according to the received CDROM configuration information, and loading the dialing software, the network protocol stack and the connection indicating program stored in the CDROM into a memory; executing the dialing software to generate a dialing request, executing the network protocol stack, executing a connection indicating program to connect the network protocol stack and the HID driver, and connecting an upper application layer and the network protocol stack; the HID driver and the CDROM driver are integrated in an operating system of a computer, and currently, a large computer operating system integrates the CDROM driver and the HID driver, for example, windows, MAC, linux and other operating systems integrate the CDROM driver and the HID driver; the computer executes the dialing software, can generate a dialing request and sends the dialing request to the network protocol stack;
here, the execution module includes the memory;
the network protocol stack is connected with the HID driver, and the upper application layer and the network protocol stack are connected, namely the upper application layer and the HID driver are indirectly connected at the computer side, the HID driver is connected with the protocol stack module in the USB data card through the USB interface, and the protocol stack module is connected with the network side, so that the upper application layer at the computer side and the network side are indirectly connected to complete the interaction of the upper application layer and the network side, and the internet surfing function is realized.
The executable file format is a Win32 executable file format.
Further, the network Protocol stack comprises an Internet Protocol (IP) Protocol layer and a PPP Protocol layer which are interconnected between networks; wherein,
the IP protocol layer is used for encapsulating the dialing request generated by the dialing software or the data sent by the upper application layer to obtain an IP data packet and sending the IP data packet to the PPP protocol layer; decapsulating the received IP data packet to obtain an IP address and sending the IP address to dialing software, or obtaining data and sending the data to an upper application layer;
the PPP protocol layer is used for encapsulating the received IP data packet to obtain a PPP data packet and sending the PPP data packet to the HID driver; decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to an IP protocol layer;
the HID driver is used for encapsulating the received PPP data packet to obtain an HID message and sending the HID message to the protocol stack module through the USB interface; and decapsulating the HID message sent by the protocol stack module to obtain a PPP data packet and sending the PPP data packet to a PPP protocol layer.
Further, the protocol stack module comprises an HID module and a PPP module; wherein,
the HID module is used for de-encapsulating the HID message sent by the HID driver to obtain a PPP data packet and sending the PPP data packet to the PPP module; packaging PPP data sent by the PPP module to obtain an HID message and sending the HID message to the HID driver through the USB interface;
the PPP module is used for decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to a network side; and the IP data packet sent from the network side is encapsulated into a PPP data packet and sent to the HID module.
Further, the apparatus further comprises:
and the memory management module is arranged on the computer and used for releasing the memory space occupied by the dialing software, the network protocol stack and the connection indicating program when the situation that the dialing software, the network protocol stack and the connection indicating program are not executed in a set time period is monitored.
The flow of the method for realizing drive-free internet access in the embodiment of the invention is shown in fig. 2, and comprises the following steps:
step 201: the USB data card provides HID configuration information stored in the USB data card to the computer; and providing the CDROM configuration information stored by the computer;
step 202: the computer runs the HID drive of the operating system according to the received HID configuration information; running a CDROM drive of a self operating system according to the received CDROM configuration information, and loading dialing software, a network protocol stack and a connection indicating program in an executable file format stored in a CDROM of the USB data card into a memory; executing the dialing software to generate a dialing request, executing the network protocol stack, executing a connection indicating program to connect the network protocol stack and the HID driver, and connecting an upper application layer and the network protocol stack;
wherein the network protocol stack loaded on the computer side comprises an IP protocol layer and a PPP protocol layer.
Step 203: and the USB data card is connected with the HID driver and the network side of the computer side through a USB interface.
The protocol stack module comprises an HID module and a PPP module;
after the executing of the dialing software generates the dialing request, the embodiment of the invention further comprises:
the IP protocol layer loaded on the computer side encapsulates the dialing request to obtain an IP data packet and sends the IP data packet to the PPP protocol layer; the PPP protocol layer encapsulates the received IP data packet to obtain a PPP data packet and sends the PPP data packet to the HID driver; the HID driver encapsulates the received PPP data packet to obtain an HID message, and sends the HID message to an HID module of the USB data card through the USB interface; the HID module decapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to the PPP module; the PPP module decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to a network side;
the PPP module of the USB data card encapsulates the IP data packet sent from the network side into a PPP data packet and sends the PPP data packet to the HID module; the HID module de-encapsulates the received PPP data to obtain an HID message and sends the HID message to the HID driver of the computer side through the USB interface; the HID driver de-encapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to a PPP protocol layer; the PPP protocol layer decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to the IP protocol layer; and the IP protocol layer decapsulates the received IP data packet to obtain an IP address and sends the IP address to the dialing software to complete dialing connection.
After the dial-up connection is completed, the embodiment of the invention further comprises:
the IP protocol layer encapsulates data sent by the upper application layer to obtain an IP data packet and sends the IP data packet to the PPP protocol layer; the PPP protocol layer encapsulates the received IP data packet to obtain a PPP data packet and sends the PPP data packet to the HID driver; the HID driver encapsulates the received PPP data packet to obtain an HID message, and sends the HID message to the HID module through the USB interface; the HID module decapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to the PPP module; the PPP module decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to a network side;
the PPP module encapsulates the IP data packet sent from the network side into a PPP data packet and sends the PPP data packet to the HID module; the HID module de-encapsulates the received PPP data to obtain an HID message and sends the HID message to the HID driver through the USB interface; the HID driver de-encapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to a PPP protocol layer; the PPP protocol layer decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to the IP protocol layer; and the IP protocol layer decapsulates the received IP data packet to obtain data and sends the data to the upper application layer, so that the Internet access function is realized.
After the internet access is finished, the embodiment of the invention further comprises the following steps: and the computer finds that the dialing software, the network protocol stack and the connection indicating program are not executed in a set time period, and releases the memory space occupied by the dialing software, the network protocol stack and the connection indicating program.
The structure of the USB data card for implementing drive-free internet access according to the embodiment of the present invention is shown in fig. 3, and includes: the device comprises a configuration module, a CDROM and a protocol stack module; wherein,
the configuration module is used for providing the HID configuration information stored in the configuration module for the computer to indicate the operation of the HID drive; the CDROM configuration information stored in the computer is provided for the computer to instruct the computer to operate CDROM drive, so that the computer can load dialing software, a network protocol stack and a connection indicating program through the CDROM drive, the computer can execute the dialing software to generate a dialing request, and an upper application layer and the HID drive are connected by executing the network protocol stack and executing the connection indicating program;
the CDROM is used for storing the dialing software, the network protocol stack and the connection indicating program in an executable file format;
and the protocol stack module is used for connecting the HID driver at the computer side and the network side through the USB interface.
The protocol stack module comprises an HID module and a PPP module; wherein,
the HID module is used for de-encapsulating the HID message sent by the HID driver to obtain a PPP data packet and sending the PPP data packet to the PPP module; packaging PPP data sent by the PPP module to obtain an HID message and sending the HID message to the HID driver through the USB interface;
the PPP module is used for decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to a network side; and the IP data packet sent from the network side is encapsulated into a PPP data packet and sent to the HID module.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (11)
1. A device for realizing drive-free internet surfing is characterized by comprising: the device comprises a configuration module, a read-only optical disk CDROM and a protocol stack module; wherein,
the configuration module is used for providing the HID configuration information of the human interface equipment stored in the configuration module for the computer and indicating the computer to operate the HID driver; providing CDROM configuration information stored in the computer, instructing the computer to operate CDROM drive, loading dialing software, a network protocol stack and a connection indicating program in an executable file format stored in a CDROM of a USB data card into a memory, executing the dialing software to generate a dialing request, executing the network protocol stack, executing the connection indicating program to connect the network protocol stack and the HID drive, and connecting an upper application layer and the network protocol stack;
the CDROM is used for storing the dialing software, the network protocol stack and the connection indicating program in an executable file format;
and the protocol stack module is used for connecting the HID driver and the network side through a USB interface.
2. The device for enabling drive-free internet surfing of claim 1, wherein the executable file format is a Win32 executable file format.
3. The device for realizing drive-free internet surfing according to claim 1 or 2, wherein the network protocol stack comprises a protocol IP protocol layer and a point-to-point protocol PPP protocol layer which are interconnected among networks; wherein,
the IP protocol layer is used for encapsulating the dialing request generated by the dialing software or the data sent by the upper application layer to obtain an IP data packet and sending the IP data packet to the PPP protocol layer; decapsulating the received IP data packet to obtain an IP address and sending the IP address to dialing software, or obtaining data and sending the data to an upper application layer;
the PPP protocol layer is used for encapsulating the received IP data packet to obtain a PPP data packet and sending the PPP data packet to the HID driver; decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to an IP protocol layer;
the HID driver is used for encapsulating the received PPP data packet to obtain an HID message and sending the HID message to the protocol stack module through the USB interface; and decapsulating the HID message sent by the protocol stack module to obtain a PPP data packet and sending the PPP data packet to a PPP protocol layer.
4. The device for realizing drive-free internet surfing according to claim 3, wherein the protocol stack module comprises an HID module and a PPP module; wherein,
the HID module is used for de-encapsulating the HID message sent by the HID driver to obtain a PPP data packet and sending the PPP data packet to the PPP module; packaging PPP data sent by the PPP module to obtain an HID message and sending the HID message to the HID driver through the USB interface;
the PPP module is used for decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to a network side; and the IP data packet sent from the network side is encapsulated into a PPP data packet and sent to the HID module.
5. The device for realizing drive-free internet surfing according to claim 1 or 2, further comprising:
and the memory management module is used for releasing memory space occupied by the dialing software, the network protocol stack and the connection indicating program when the situation that the dialing software, the network protocol stack and the connection indicating program are not executed in a set time period of the computer is monitored.
6. A method for realizing drive-free internet surfing is characterized by comprising the following steps:
the USB data card provides the HID configuration information of the human interface equipment stored by the USB data card for the computer and indicates the computer to operate the HID drive;
the USB data card provides CDROM configuration information stored by the USB data card for a computer, provides the CDROM configuration information, instructs the computer to operate CDROM drive, loads dialing software, a network protocol stack and a connection instruction program in an executable file format stored in the CDROM of the USB data card into a memory, executes the dialing software to generate a dialing request, executes the network protocol stack, and executes the connection instruction program to connect the network protocol stack and the HID drive and connect an upper application layer and the network protocol stack;
and the USB data card is connected with the HID driver and the network side through a USB interface.
7. The method for achieving drive-free internet surfing as recited in claim 6, wherein the network protocol stack comprises an IP protocol layer and a PPP protocol layer; the protocol stack module comprises an HID module and a PPP module;
after the dialing software is operated to generate a dialing request, the method further comprises the following steps:
the IP protocol layer encapsulates the dialing request to obtain an IP data packet and sends the IP data packet to the PPP protocol layer; the PPP protocol layer encapsulates the received IP data packet to obtain a PPP data packet and sends the PPP data packet to the HID driver; the HID driver encapsulates the received PPP data packet to obtain an HID message, and sends the HID message to the HID module through the USB interface; the HID module decapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to the PPP module; the PPP module decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to a network side;
the PPP module encapsulates the IP data packet sent from the network side into a PPP data packet and sends the PPP data packet to the HID module; the HID module de-encapsulates the received PPP data to obtain an HID message and sends the HID message to the HID driver through the USB interface; the HID driver de-encapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to a PPP protocol layer; the PPP protocol layer decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to the IP protocol layer; and the IP protocol layer decapsulates the received IP data packet to obtain an IP address and sends the IP address to the dialing software to complete dialing connection.
8. The method of claim 7, wherein after the dial-up connection is completed, the method further comprises:
the IP protocol layer encapsulates data sent by the upper application layer to obtain an IP data packet and sends the IP data packet to the PPP protocol layer; the PPP protocol layer encapsulates the received IP data packet to obtain a PPP data packet and sends the PPP data packet to the HID driver; the HID driver encapsulates the received PPP data packet to obtain an HID message, and sends the HID message to the HID module through the USB interface; the HID module decapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to the PPP module; the PPP module decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to a network side;
the PPP module encapsulates the IP data packet sent from the network side into a PPP data packet and sends the PPP data packet to the HID module; the HID module de-encapsulates the received PPP data to obtain an HID message and sends the HID message to the HID driver through the USB interface; the HID driver de-encapsulates the received HID message to obtain a PPP data packet and sends the PPP data packet to a PPP protocol layer; the PPP protocol layer decapsulates the received PPP data packet to obtain an IP data packet and sends the IP data packet to the IP protocol layer; and the IP protocol layer decapsulates the received IP data packet to obtain data and sends the data to the upper application layer, so that the Internet access function is realized.
9. The method for realizing drive-free internet surfing according to claim 6, 7 or 8, wherein after the internet surfing is finished, the method further comprises:
and when the situation that the computer does not execute the dialing software, the network protocol stack and the connection indicating program in a set time period is monitored, releasing the memory space occupied by the dialing software, the network protocol stack and the connection indicating program.
10. The utility model provides a USB data card of drive-free internet access which characterized in that, this data card includes: the device comprises a configuration module, a CDROM and a protocol stack module; wherein,
the configuration module is used for providing the HID configuration information of the human interface equipment stored in the configuration module for the computer and indicating the computer to operate the HID driver; providing CDROM configuration information stored in the computer, instructing the computer to operate CDROM drive, loading dialing software, a network protocol stack and a connection indicating program in an executable file format stored in a CDROM of a USB data card into a memory, executing the dialing software to generate a dialing request, executing the network protocol stack, executing the connection indicating program to connect the network protocol stack and the HID drive, and connecting an upper application layer and the network protocol stack;
the CDROM is used for storing the dialing software, the network protocol stack and the connection indicating program in an executable file format;
and the protocol stack module is used for connecting the HID driver at the computer side and the network side through the USB interface.
11. The USB data card for realizing drive-free internet surfing of claim 10, wherein the protocol stack module comprises an HID module and a PPP module; wherein,
the HID module is used for de-encapsulating the HID message sent by the HID driver to obtain a PPP data packet and sending the PPP data packet to the PPP module; packaging PPP data sent by the PPP module to obtain an HID message and sending the HID message to the HID driver through the USB interface;
the PPP module is used for decapsulating the received PPP data packet to obtain an IP data packet and sending the IP data packet to a network side; and the IP data packet sent from the network side is encapsulated into a PPP data packet and sent to the HID module.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100933385A CN101662838B (en) | 2009-09-18 | 2009-09-18 | Device, method and USB data card for realizing internet surfing without drive |
PCT/CN2010/076531 WO2011032461A1 (en) | 2009-09-18 | 2010-09-01 | Apparatus, method and usb data card for realizing drive-free net surfing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009100933385A CN101662838B (en) | 2009-09-18 | 2009-09-18 | Device, method and USB data card for realizing internet surfing without drive |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101662838A CN101662838A (en) | 2010-03-03 |
CN101662838B true CN101662838B (en) | 2012-05-16 |
Family
ID=41790510
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009100933385A Active CN101662838B (en) | 2009-09-18 | 2009-09-18 | Device, method and USB data card for realizing internet surfing without drive |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101662838B (en) |
WO (1) | WO2011032461A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101662838B (en) * | 2009-09-18 | 2012-05-16 | 中兴通讯股份有限公司 | Device, method and USB data card for realizing internet surfing without drive |
CN102096646A (en) * | 2011-01-30 | 2011-06-15 | 中兴通讯股份有限公司 | Method and device for starting wireless communication terminal |
CN102098808B (en) * | 2011-02-12 | 2012-11-07 | 华为终端有限公司 | Data card and data card networking method |
CN102176704A (en) * | 2011-02-18 | 2011-09-07 | 中兴通讯股份有限公司 | Method, system and device for accessing wireless network through universal serial bus (USB) virtual network card |
CN102695087A (en) * | 2011-03-21 | 2012-09-26 | 中兴通讯股份有限公司 | Digital television playing method, device and USB Television card |
CN102231878B (en) * | 2011-06-21 | 2017-09-29 | 中兴通讯股份有限公司 | Data card start-up method and data card |
CN102438087A (en) * | 2011-10-13 | 2012-05-02 | 中兴通讯股份有限公司 | Wireless communication terminal and method for realizing CS voice |
CN105487879B (en) * | 2014-09-18 | 2019-04-16 | 中兴通讯股份有限公司 | Networking software integrated approach and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1453704A (en) * | 2002-04-23 | 2003-11-05 | 立领科技股份有限公司 | Peripheral network equipment without need of preliminary installation of drive software |
CN1766827A (en) * | 2004-10-25 | 2006-05-03 | 三星电子株式会社 | The wherein printer of embedded network server and Method of printing thereof |
US7124178B2 (en) * | 2001-04-25 | 2006-10-17 | Canon Kabushiki Kaisha | Peripheral equipment and peripheral equipment control method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1808973A (en) * | 2006-01-27 | 2006-07-26 | 北京飞天诚信科技有限公司 | USB MMI information security device and its control method |
GB0624582D0 (en) * | 2006-12-08 | 2007-01-17 | Visible Computing Ltd | USB autorun devices |
CN100507850C (en) * | 2007-07-31 | 2009-07-01 | 北京理工大学 | Method for embedding inner core drive program in Window operation system by USB apparatus start-up |
CN101420757A (en) * | 2008-11-26 | 2009-04-29 | 中兴通讯股份有限公司 | Wireless data card |
CN101662838B (en) * | 2009-09-18 | 2012-05-16 | 中兴通讯股份有限公司 | Device, method and USB data card for realizing internet surfing without drive |
-
2009
- 2009-09-18 CN CN2009100933385A patent/CN101662838B/en active Active
-
2010
- 2010-09-01 WO PCT/CN2010/076531 patent/WO2011032461A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7124178B2 (en) * | 2001-04-25 | 2006-10-17 | Canon Kabushiki Kaisha | Peripheral equipment and peripheral equipment control method |
CN1453704A (en) * | 2002-04-23 | 2003-11-05 | 立领科技股份有限公司 | Peripheral network equipment without need of preliminary installation of drive software |
CN1766827A (en) * | 2004-10-25 | 2006-05-03 | 三星电子株式会社 | The wherein printer of embedded network server and Method of printing thereof |
Also Published As
Publication number | Publication date |
---|---|
CN101662838A (en) | 2010-03-03 |
WO2011032461A1 (en) | 2011-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101662838B (en) | Device, method and USB data card for realizing internet surfing without drive | |
JP5595490B2 (en) | Implementation method, operation method, and system for data card driver without installation | |
US8442509B2 (en) | System and method for managing a wireless device from removable media with processing capability | |
EP2487838B1 (en) | Data card and method for internet access of data card | |
CN101452435B (en) | USB terminal mode switching method and terminal | |
CN101110039B (en) | Terminal unit self-installing and self-starting system and method thereof | |
US9652261B2 (en) | Data card and communication method and system | |
WO2011127845A2 (en) | Method, system and terminal for system update between mobile communication terminals | |
WO2019037724A1 (en) | Method for upgrading application of mobile terminal, storage device, and mobile terminal | |
WO2019141121A1 (en) | Vehicle diagnosis instrument and system operating method thereof, vehicle diagnosis system | |
CN111541956B (en) | Optical port self-adaption method, device, switch and computer readable storage medium | |
WO2010115366A1 (en) | Method, device and communication system for driving equipment | |
CN103777981A (en) | Multi-operation-system remote loading implementation method suitable for X86 framework | |
WO2012100504A1 (en) | Wireless communication method, wireless communication system and wireless communication terminal | |
US9820310B2 (en) | Network connection method and system | |
WO2016119623A1 (en) | Method and device for realizing network sharing | |
CN101901157B (en) | Management software self-starting installation method and system | |
CN101056209A (en) | A maintenance method and device for radio terminal image file | |
WO2012126214A1 (en) | Mobile broadband device and use method thereof | |
WO2013004175A1 (en) | Software upgrading method and apparatus for electronic devices | |
EP2530995B1 (en) | Method and apparatus for implementing network device function of wireless communication terminal | |
WO2010086712A2 (en) | System and method for managing a wireless device from removable media with processing capability | |
CN106371886B (en) | Network telephone device updated from localization and manufacturing method thereof | |
CN115484577A (en) | Control method, control device, electronic equipment and storage medium | |
KR20140129699A (en) | Data management system using link aggregation module and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |