Patent ID: 9223746
Filing Date: 2015-12-29
Classification: G06F,H04L,H04W

Abstract:
1. A method for Internet access, implemented by a data card, comprising: after the data card is connected to a host, receiving a USB command sent by a USB host driver of the host; determining, according to the USB command, whether a current operating system run on the host is the Windows operating system: when determining the current operating system run on the host is the Windows operating system, the data card reports a device descriptor that is compliant with a requirement of a device specification of a Remote Network Device Interface Specification (RNDIS) protocol to the host and when determining the current operating system run on the host is not the Windows operating system, the data card reports a device descriptor that is compliant with a requirement of a device specification of an Ethernet Control Model (ECM) protocol to the host, wherein the device descriptor is used to trigger the host to run an Ethernet interface driver; receiving an initialization command that is compliant with an Ethernet interface protocol sent by the USB host driver of the host; performing a corresponding initialization operation according to the received initialization command, and mapping the data card into an Internet access device by using the Ethernet interface protocol; obtaining dial-up information and dialing, by using the dial-up information, to request to connect to a network; and performing communication between the host and the network.