摘要 |
The invention provides a networking method and device via network interface of data card equipment, wherein the method includes: loading a user application module, a control instruction library and a driver of the data card equipment in a computer configured with a Mac operating system; creating a virtual network interface matched with equipment attributes according to the equipment attributes reported by the data card equipment; sending a control instruction to the control instruction library; the control instruction library preliminarily packing and outputting the control instruction; an upper driver analyzing the data packet that is input by the control instruction library and that contains the control instruction, and encapsulating the control instruction in a communication control protocol format and then forwarding the control instruction; and a lower driver sending the data packet containing the control instruction to the data card equipment via a communication pipe. According to the invention, the problem that the Mac operating system is unable to network via the network interface of data card equipment can be effectively solved, and the rate bottleneck problem caused when the data card networks via a serial port at present also can be solved well. |