WO2012126214A1 - 一种移动宽带设备及其使用方法 - Google Patents

一种移动宽带设备及其使用方法 Download PDF

Info

Publication number
WO2012126214A1
WO2012126214A1 PCT/CN2011/076103 CN2011076103W WO2012126214A1 WO 2012126214 A1 WO2012126214 A1 WO 2012126214A1 CN 2011076103 W CN2011076103 W CN 2011076103W WO 2012126214 A1 WO2012126214 A1 WO 2012126214A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile broadband
network card
virtual network
broadband device
enumerates
Prior art date
Application number
PCT/CN2011/076103
Other languages
English (en)
French (fr)
Inventor
赵明
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012126214A1 publication Critical patent/WO2012126214A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of embedded software development, and in particular, to a mobile broadband device and a method for using the same. Background technique
  • CM Connection Manager
  • CM software is an application provided for the convenience of users to use mobile broadband devices, and is used to control various functions of mobile broadband devices, such as short message sending and receiving, connecting network, voice call, etc.
  • CM software also Called the user interface (UI, User Interface) until
  • a mobile broadband device having a USB interface needs to simultaneously virtualize and enumerate a plurality of functional devices, also referred to as an interface, for example, for Voice interface for voice calls, AT interface for sending and receiving text messages, etc.
  • These devices are dedicated and need to be installed by a third-party driver; this requires drivers for multiple devices to be installed for the first time. program.
  • the driver is integrated into the CM software of the PC, so that the entire CM software needs to be installed during the first use, so that relevant information will be left on the hard disk of the PC, thereby increasing The complexity of using and increasing the system garbage of the PC.
  • the main object of the present invention is to provide a mobile broadband device and a method of using the same, which realizes the green use of the CM-free software of the mobile broadband device.
  • the present invention provides a mobile broadband device, including: a USB interface module and an application module;
  • USB interface module configured to enumerate the mobile broadband device as a virtual network card device
  • the application module is configured to perform a network connection when activated by the enumerated virtual network card device.
  • the USB interface module enumerates the mobile broadband device as a virtual network card device as:
  • the USB interface module enumerates the mobile broadband device as a storage device, re-enumerates the mobile broadband device as a virtual network card device, or enumerates the mobile broadband device as a combined device of the large-capacity storage device and the virtual network card device.
  • the network connection is:
  • the application module of the mobile broadband device is activated by the virtual network card device, and the dialing operation is implemented in the http interface provided by the application module, where the dialing operation is in a background program of the application module. Call the dialer interface function to initiate and complete the interaction with the wireless network and connect to the external network.
  • the invention also provides a method for using a mobile broadband device, comprising: Enumerate mobile broadband devices as virtual NIC devices;
  • the application module of the mobile broadband device is activated by the enumerated virtual network card device, and the application module is used for network connection.
  • the enumerating the mobile broadband device as a virtual network card device is:
  • the USB interface module of the mobile broadband device enumerates the mobile broadband device as a storage device, and then re-enumerates the mobile broadband device as a virtual network card device, or enumerates the mobile broadband device as a combination device of the large-capacity storage device and the virtual network card device.
  • the application module of the mobile broadband device is activated by the enumerated virtual network card device, and the network connection is performed by using the application module:
  • the application module of the mobile broadband device is activated by the virtual network card device, and the dialing operation is implemented by using the http interface provided by the application module, where the dialing operation is in a background program of the application module. Call the dialer interface function to initiate and complete the interaction with the wireless network and connect to the external network.
  • the USB interface module of the mobile broadband device enumerates the mobile broadband device as a storage device, and then re-enumerates the mobile broadband device as a virtual network card device as:
  • Enumerating a mobile broadband device as a storage device the storage device providing an executable program; running an executable program, the executable program automatically installing a driver file of the virtual network card device, and transmitting the switching instruction to the mobile broadband enumerated as a storage device Equipment
  • the mobile broadband device enumerated as a storage device re-enumerates the mobile broadband device as a virtual NIC device.
  • the mobile broadband device is enumerated as a storage device, and the storage device provides an executable program as:
  • the USB interface module of the mobile broadband device enumerates the mobile broadband device as a storage device, and mounts the CD image file as a CD in the storage device, and provides an executable file by simulating the read operation of the CD by loading the CD image file in the PC. program.
  • the mobile broadband device enumerated as a storage device re-enumerates the mobile broadband device as a virtual network card device as:
  • the USB interface module enumerating the mobile broadband device of the storage device re-enumerates the mobile broadband device as a virtual network card device; wherein the virtual network card device is a CDC-EEM device, a CDC-NCM device, and a CDC -WHCM device or NIC device of custom transmission protocol;
  • the USB interface module re-enumerates the mobile broadband device as a virtual NIC device
  • the driver file of the virtual NIC device is automatically loaded, and the mobile broadband device enumerated as a virtual NIC device is
  • the PC side presents the form of the virtual network card device.
  • the mobile broadband device provided by the present invention and the method for using the same, the mobile broadband device is enumerated as a virtual network card device; the application module of the mobile broadband device is activated by the enumerated virtual network card device, and the application module is used for network connection, because the application The module can complete the functions of the CM software of the traditional mobile broadband device and realize the network connection. Therefore, after the mobile broadband device is inserted into the PC, the CM software is no longer needed to be installed, and the green use of the CM software of the mobile broadband device is realized, and the operation is avoided.
  • FIG. 1 is a schematic structural diagram of a mobile broadband device of the present invention
  • FIG. 2 is a schematic flow chart of a method for implementing a mobile broadband device according to the present invention
  • FIG. 3 is a schematic flow chart of a method for enumerating a mobile broadband device as a storage device and then re-enumerating the mobile broadband device as a virtual network card device in the present invention.
  • the basic idea of the present invention is to: enumerate the mobile broadband device as a virtual network card device; activate the application module of the mobile broadband device by using the enumerated virtual network card device, and use the application module to perform network connection.
  • FIG. 1 is a schematic diagram of a structure of a mobile broadband device according to the present invention.
  • the mobile broadband device includes: a USB interface module 11 and an application module 12;
  • the USB interface module 11 is configured to enumerate the mobile broadband device as a virtual network card device; and the application module 12 is configured to perform network connection when activated by the enumerated virtual network card device.
  • the application module 12 is an implementation module of the WEB UI built in the mobile broadband device, wherein the Web server is a background service of the WEB UI, and is used to implement various functions of the WEB UI in the background, and the WEB UI is the Web Server.
  • the external user interface is provided to the user in http mode.
  • the USB interface module 11 enumerates the mobile broadband device as a virtual network card device as follows: The USB interface module enumerates the mobile broadband device as a storage device, and then re-enumerates the mobile broadband device as a virtual network card device, or the mobile broadband device. It is a combination of a mass storage device and a virtual network card device.
  • the network connection is: after the mobile broadband device is enumerated as a virtual network card device, the application module of the mobile broadband device is activated by the virtual network card device, and
  • the dialing operation is implemented in the http interface provided by the application module, and the dialing operation invokes a dialing interface function in a background program of the application module to initiate and complete interaction with the wireless network and connect to the external network.
  • the present invention also provides a method for using a mobile broadband device
  • 2 is a schematic flowchart of a method for implementing a mobile broadband device according to the present invention. As shown in FIG. 2, the method includes the following steps:
  • Step 201 enumerate the mobile broadband device as a virtual network card device.
  • the mobile broadband device is a mobile broadband device with a USB interface as an external interface, such as a smart mobile terminal, a tablet computer, a USB data card, etc.; inserting a mobile broadband device into the PC, and the USB bus of the PC can identify the mobile device.
  • a USB interface as an external interface, such as a smart mobile terminal, a tablet computer, a USB data card, etc.
  • the USB interface module of the mobile broadband device can finally enumerate the mobile broadband device as a virtual network card device
  • the method of enumerating the mobile broadband device as a virtual network card device includes: a USB interface module of the mobile broadband device
  • the mobile broadband device is first enumerated as a storage device, and then the mobile broadband device is re-enumerated as a virtual network card device, or the USB interface module of the mobile broadband device enumerates the mobile broadband device as a composite device, and the composite device is a mass storage device.
  • a combination device of a device and a virtual network card device such as a combination of a mass storage device and a virtual network card device of a CDROM (Compact Disc Read-Only Memory) type, or a mass storage device and a virtual network card device of a T card type Combined device.
  • a virtual network card device such as a combination of a mass storage device and a virtual network card device of a CDROM (Compact Disc Read-Only Memory) type, or a mass storage device and a virtual network card device of a T card type Combined device.
  • CDROM Compact Disc Read-Only Memory
  • Step 202 Activate an application module of the mobile broadband device by using the enumerated virtual network card device, and use the application module to perform network connection.
  • the mobile broadband device has an application module built in, and the module can complete the function of the CM software of the mobile broadband device, so there is no need to install the CM software on the PC side; when the mobile broadband device is enumerated as a virtual network card device, the virtual The network card device activates the application module of the mobile broadband device, and implements the dialing operation by using the http interface provided by the application module.
  • the dialing operation invokes the corresponding dialing interface function in the background program of the web server to realize the normal use of the mobile broadband through the enumeration.
  • the functions provided by the application module of the device such as sending and receiving text messages, reading and writing phone books, voice calls, pre-billing and other functions.
  • FIG. 3 shows that the mobile broadband device is first enumerated as a storage device in the present invention, and then the mobile broadband device is set.
  • the flowchart of the method for re-enumerating the virtual network card device is one of the specific implementation methods for enumerating the mobile broadband device as a virtual network card device in step 201. As shown in FIG. 3, the method includes the following steps:
  • Step 301 Enumerate the mobile broadband device as a storage device, where the storage device provides an executable program
  • the USB interface module of the mobile broadband device enumerates the mobile broadband device as a storage device, for example, a large-capacity storage device of the CDROM type; the storage device mounts a CD image file (iso file) as a CD, in the PC
  • a CD image file iso file
  • an executable program can be provided; since the iso is a three-in-one iso of the Windows operating system and the MAC operating system and the Linux operating system, in these three operations It can be run under the system and can provide executable programs in different formats.
  • Step 302 Run an executable program, the executable program automatically installs a driving file of the virtual network card device, and sends the switching instruction to the mobile broadband device enumerated as a storage device;
  • the executable program in the storage device is run in the PC, and the executable program automatically installs a driver file required by the virtual network card device in the background; the executable program generates a switching instruction, and sends the switching instruction to the enumeration for storing
  • the mobile broadband device of the device wherein the switching instruction may be a customized small computer system interface (SCSI, Small Computer System Interface) instruction, or may be a customized USB request; the USB interface module of the mobile broadband device receives the sending by the PC Switch instructions.
  • SCSI Small Computer System Interface
  • Step 303 The mobile broadband device enumerated as a storage device re-enumerates the mobile broadband device as a virtual network card device.
  • the USB interface module enumerating the mobile broadband device of the storage device re-enumerates the mobile broadband device as a virtual network card device, and switches the mobile broadband device enumerated as the storage device to Enumerating a mobile broadband device as a virtual network card device;
  • the enumerated virtual network card device may be a communication device defining an analog network card model (CDC-EEM, Class Definitions for Communication device-Ethernet Emulation Model, Network Definition Model for Network Device Control, CDC-NCM, Class Definitions for Communication Device-Network Control Model) Model (CDC-WHCM, Class Definitions for Communication device-Wireless Handset Control Model) device or NIC device of custom transmission protocol;
  • the USB interface module re-enumerates the mobile broadband device as a virtual NIC device, the virtual device installed in step 302
  • the driver files of the NIC device can be automatically loaded, so that the mobile broadband device enumerated as a virtual NIC device is completely presented as a virtual NIC device on the

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开一种移动宽带设备及其使用方法,该方法包括:将移动宽带设备枚举为虚拟网卡设备;通过枚举的虚拟网卡设备激活移动宽带设备的应用模块,利用该应用模块进行网络连接。根据本发明的技术方案,实现了移动宽带设备的免CM软件的绿色使用。

Description

一种移动宽带设备及其使用方法 技术领域
本发明涉及嵌入式软件开发领域, 尤其涉及一种移动宽带设备及其使 用方法。 背景技术
目前, 随着通讯 3G网络的迅猛发展, 用户不仅对移动网络的传统语音 服务提出了高要求, 而且对移动网络的无线数据服务也越来越重视, 移动 宽带设备的应用也越来越广泛。 现有的移动宽带设备的使用方法一般是首 先在计算机上安装移动宽带设备的驱动程序和连接管理器( CM, Connection Manager )软件, 而后才能够使用该移动宽带设备。 其中, CM软件是为了 方便用户使用移动宽带设备而提供的应用程序, 用于控制移动宽带设备的 各项功能, 例如短信收发、 连接网络、 语音电话等功能, 在某些特定的场 合 CM软件也称为用户界面 (UI, User Interface )„
上述移动宽带设备的使用方法具有以下缺点: 1、 为了同时并发多种业 务, 具有 USB接口的移动宽带设备需要同时虚拟和枚举出多种功能设备, 又称为界面(interface ), 例如用于语音通话的语音 interface, 用于收发短信 的 AT interface等, 这些设备都是专用的, 且需要安装第三方提供的驱动程 序才可使用; 这样就需要在第一次使用时安装多个设备的驱动程序。 此外, 为了实现安装驱动程序的自动化,将驱动程序整合在 PC的 CM软件中, 这 样就需要在第一次使用时安装整个 CM软件,因而将会在 PC的硬盘中留下 相关信息, 从而增加了使用的复杂度和增加 PC的系统垃圾的。 2、 操作繁 瑣、 耗时耗力: 把驱动程序和 UI软件全部安装完成至少需要 3~5分钟的时 间, 而且当需要在另外一台计算机上使用移动宽带设备时, 还需要重新安 装驱动程序和 UI软件, 使用相当繁瑣。
综上, 由于具有 USB接口的移动宽带设备存在的上述问题, 如何在不 用自行安装 CM软件的情况下实现具有 USB接口的移动宽带设备的多种功 能, 且尽量不在计算机系统中留下安装痕迹和垃圾文件, 就成为移动宽带 设备的一个未来发展方向。 发明内容
有鉴于此, 本发明的主要目的在于提供一种移动宽带设备及其使用方 法, 实现了移动宽带设备的免 CM软件的绿色使用。
为达到上述目的, 本发明的技术方案是这样实现的:
本发明提供一种移动宽带设备, 包括: USB接口模块、 应用模块; 其 中,
USB接口模块, 用于将移动宽带设备枚举为虚拟网卡设备;
应用模块, 用于被所述枚举的虚拟网卡设备的激活时, 进行网络连接。 上述移动宽带设备中, 所述 USB接口模块将移动宽带设备枚举为虚拟 网卡设备为:
所述 USB接口模块将移动宽带设备枚举为存储设备, 再将移动宽带设 备重新枚举为虚拟网卡设备, 或将移动宽带设备枚举为大容量存储设备与 虚拟网卡设备的组合设备。
上述移动宽带设备中, 所述应用模块用于被所述枚举的虚拟网卡设备 的激活时, 进行网络连接为:
将移动宽带设备枚举为虚拟网卡设备后, 通过所述虚拟网卡设备激活 移动宽带设备的应用模块, 并利用应用模块提供的 http界面中实现拨号操 作, 所述拨号操作在应用模块的后台程序中调用拨号接口函数, 发起并完 成与无线网络的交互, 连接到外网。
本发明还提供一种移动宽带设备的使用方法, 包括: 将移动宽带设备枚举为虚拟网卡设备;
通过枚举的虚拟网卡设备激活移动宽带设备的应用模块, 利用该应用 模块进行网络连接。
上述方法中, 所述将移动宽带设备枚举为虚拟网卡设备为:
移动宽带设备的 USB接口模块将移动宽带设备枚举为存储设备, 再将 移动宽带设备重新枚举为虚拟网卡设备, 或将移动宽带设备枚举为大容量 存储设备与虚拟网卡设备的组合设备。
上述方法中, 所述通过枚举的虚拟网卡设备激活移动宽带设备的应用 模块, 利用该应用模块进行网络连接为:
当将移动宽带设备枚举为虚拟网卡设备后, 通过所述虚拟网卡设备激 活移动宽带设备的应用模块, 并利用应用模块提供的 http界面实现拨号操 作, 所述拨号操作在应用模块的后台程序中调用拨号接口函数, 发起并完 成与无线网络的交互, 连接到外网。
上述方法中, 所述移动宽带设备的 USB接口模块将移动宽带设备枚举 为存储设备, 再将移动宽带设备重新枚举为虚拟网卡设备为:
将移动宽带设备枚举为存储设备, 该存储设备提供可执行程序; 运行可执行程序, 该可执行程序自动安装虚拟网卡设备的驱动文件, 并将切换指令发送给枚举为存储设备的移动宽带设备;
枚举为存储设备的移动宽带设备将移动宽带设备重新枚举为虚拟网卡 设备。
上述方法中, 所述将移动宽带设备枚举为存储设备, 该存储设备提供 可执行程序为:
移动宽带设备的 USB接口模块将移动宽带设备枚举为存储设备, 该存 储设备中挂载作为光盘的光盘镜像文件,在 PC中通过加载该光盘镜像文件 来模拟光盘的读取操作来提供可执行程序。 上述方法中, 所述枚举为存储设备的移动宽带设备将移动宽带设备重 新枚举为虚拟网卡设备为:
枚举为存储设备的移动宽带设备的 USB接口模块收到切换指令后, 将 移动宽带设备重新枚举为虚拟网卡设备; 其中, 所述虚拟网卡设备是 CDC-EEM设备、 CDC-NCM设备、 CDC-WHCM设备或自定义传输协议的 网卡设备; USB接口模块将移动宽带设备重新枚举为虚拟网卡设备后, 所 述虚拟网卡设备的驱动文件自动加载, 枚举为虚拟网卡设备的移动宽带设 备在 PC侧呈现虚拟网卡设备的形态。
本发明提供的移动宽带设备及其使用方法, 将移动宽带设备枚举为虚 拟网卡设备; 通过枚举的虚拟网卡设备激活移动宽带设备的应用模块, 利 用该应用模块进行网络连接, 由于所述应用模块能够完成传统移动宽带设 备的 CM软件的功能, 实现网络连接, 因此将移动宽带设备插入 PC后, 不 再需要安装 CM软件, 实现了移动宽带设备的免 CM软件的绿色使用, 在 避免了操作系统兼容性问题的同时, 也避免了在操作系统中留下安装的垃 圾文件; 由于不需要安装 CM软件, 可以极大程度的加快移动宽带设备在 PC上使用的准备工作时间, 避免了安装软件所带来的长时间等待, 带来更 好的用户体验; 此外,对于 Linux等对于传统移动宽带设备的功能支持的不 是很完善的操作系统, 利用本发明实施例提出的方法可以提供与 Windows 操作系统下相同的操作感受、 使用方式和用户体验, 将不会受到本地操作 系统的各种限制。 附图说明
图 1是本发明移动宽带设备的结构示意图;
图 2是本发明实现移动宽带设备的使用方法的流程示意图;
图 3是本发明中先将移动宽带设备枚举为存储设备, 再将移动宽带设 备重新枚举为虚拟网卡设备的方法的流程示意图。 具体实施方式
本发明的基本思想是: 将移动宽带设备枚举为虚拟网卡设备; 通过枚 举的虚拟网卡设备激活移动宽带设备的应用模块, 利用该应用模块进行网 络连接。
下面通过附图及具体实施例对本发明再做进一步的详细说明。
本发明提供一种移动宽带设备, 图 1 是本发明移动宽带设备的结构示 意图,如图 1所示, 该移动宽带设备包括: USB接口模块 11、应用模块 12; 其中,
USB接口模块 11 , 用于将移动宽带设备枚举为虚拟网卡设备; 应用模块 12, 用于被所述枚举的虚拟网卡设备的激活时, 进行网络连 接。
所述应用模块 12是移动宽带设备中内置的 WEB UI的实现模块, 其中 Web服务器( Web Server )是 WEB UI的后台服务,用于在后台实现 WEB UI 的各种功能, WEB UI是 Web Server的对外用户界面, 以 http方式提供给 用户。
所述 USB接口模块 11将移动宽带设备枚举为虚拟网卡设备为: USB 接口模块将移动宽带设备枚举为存储设备, 再将移动宽带设备重新枚举为 虚拟网卡设备, 或将移动宽带设备枚举为大容量存储设备与虚拟网卡设备 的组合设备。
所述应用模块 12被所述枚举的虚拟网卡设备的激活时, 进行网络连接 为: 将移动宽带设备枚举为虚拟网卡设备后, 通过所述虚拟网卡设备激活 移动宽带设备的应用模块, 并利用应用模块提供的 http界面中实现拨号操 作, 所述拨号操作在应用模块的后台程序中调用拨号接口函数, 发起并完 成与无线网络的交互, 连接到外网。
基于上述移动宽带设备, 本发明还提供一种移动宽带设备的使用方法, 图 2是本发明实现移动宽带设备的使用方法的流程示意图, 如图 2所示, 该方法包括以下步骤:
步骤 201 , 将移动宽带设备枚举为虚拟网卡设备;
具体的, 本发明实施例中移动宽带设备是以 USB接口为对外接口的移 动宽带设备, 例如智能移动终端、 平板电脑、 USB数据卡等; 将移动宽带 设备插入 PC, PC的 USB总线可以识别该移动宽带设备,并开启枚举流程; 移动宽带设备的 USB 接口模块最终可将移动宽带设备枚举为虚拟网卡设 备,将移动宽带设备枚举为虚拟网卡设备的方法包括:移动宽带设备的 USB 接口模块先将移动宽带设备枚举为存储设备, 再将移动宽带设备重新枚举 为虚拟网卡设备, 或移动宽带设备的 USB接口模块将移动宽带设备枚举为 一个复合设备, 该复合设备是大容量存储设备与虚拟网卡设备的组合设备, 例如只读光盘( CDROM, Compact Disc Read-Only Memory )类的大容量存 储设备与虚拟网卡设备的组合设备, 或 T卡类的大容量存储设备与虚拟网 卡设备的组合设备。
步骤 202, 通过枚举的虚拟网卡设备激活移动宽带设备的应用模块, 利 用该应用模块进行网络连接;
具体的, 移动宽带设备中内置应用模块, 该模块可以完成移动宽带设 备的 CM软件的功能, 因此无需在 PC侧安装 CM软件; 当将移动宽带设备 枚举为虚拟网卡设备后, 可通过该虚拟网卡设备激活移动宽带设备的应用 模块, 利用应用模块提供的 http界面实现拨号操作, 该拨号操作在 Web服 务器(Web server )的后台程序中调用相应的拨号接口函数, 实现通过枚举 正常使用移动宽带设备的应用模块提供的各项功能, 例如收发短信、 读写 电话本、 语音电话、 预先计费等功能。
图 3是本发明中先将移动宽带设备枚举为存储设备, 再将移动宽带设 备重新枚举为虚拟网卡设备的方法的流程示意图, 是步骤 201 中将移动宽 带设备枚举为虚拟网卡设备的具体实现方法之一, 如图 3 所示, 该方法包 括以下步骤:
步骤 301 , 将移动宽带设备枚举为存储设备, 该存储设备提供可执行程 序;
具体的, 移动宽带设备的 USB接口模块将移动宽带设备枚举为存储设 备, 例如, CDROM 类的大容量存储设备; 该存储设备中挂载了作为光盘 的光盘镜像文件( iso文件 ), 在 PC中通过加载该光盘镜像文件来模拟光盘 的读取操作, 从而可以提供一个可执行程序; 由于该 iso是 Windows操作 系统和 MAC操作系统和 Linux操作系统三合一的 iso , 因此在这三种操作 系统下都可以运行, 并且可以提供不同格式的可执行程序。
步骤 302,运行可执行程序, 该可执行程序自动安装虚拟网卡设备的驱 动文件, 并将切换指令发送给枚举为存储设备的移动宽带设备;
具体的, 在 PC中运行该存储设备中的可执行程序, 该可执行程序自动 在后台安装虚拟网卡设备需要的驱动文件; 可执行程序生成切换指令, 并 将该切换指令发送给枚举为存储设备的移动宽带设备, 其中, 切换指令可 以是自定义的小型计算机系统接口( SCSI, Small Computer System Interface ) 指令,也可以是自定义的 USB请求; 移动宽带设备的 USB接口模块接收到 PC发送的切换指令。
步骤 303 ,枚举为存储设备的移动宽带设备将移动宽带设备重新枚举为 虚拟网卡设备;
具体的, 枚举为存储设备的移动宽带设备的 USB接口模块收到切换指 令后, USB接口模块将移动宽带设备重新枚举为虚拟网卡设备, 实现将枚 举为存储设备的移动宽带设备切换到枚举为虚拟网卡设备的移动宽带设 备; 枚举的虚拟网卡设备可以是通讯类设备定义一模拟网卡模型 ( CDC-EEM, Class Definitions for Communication device-Ethernet Emulation Model 殳备、通讯类设备定义一网络控制模型( CDC-NCM, Class Definitions for Communication device-Network Control Model )设备、通讯类设备定义一 无线终端控制模型 (CDC-WHCM , Class Definitions for Communication device-Wireless Handset Control Model )设备或自定义传输协议的网卡设备; USB接口模块将移动宽带设备重新枚举为虚拟网卡设备后, 在步骤 302中 安装的虚拟网卡设备的驱动文件可以自动进行加载, 使得枚举为虚拟网卡 设备的移动宽带设备在 PC侧完全呈现为虚拟网卡设备的形态。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。

Claims

权利要求书
1、 一种移动宽带设备, 其特征在于, 该移动宽带设备包括: USB接口 模块、 应用模块; 其中,
USB接口模块, 用于将移动宽带设备枚举为虚拟网卡设备;
应用模块, 用于被所述枚举的虚拟网卡设备的激活时, 进行网络连接。
2、 根据权利要求 1所述的移动宽带设备, 其特征在于, 所述 USB接 口模块将移动宽带设备枚举为虚拟网卡设备为:
所述 USB接口模块将移动宽带设备枚举为存储设备, 再将移动宽带设 备重新枚举为虚拟网卡设备, 或将移动宽带设备枚举为大容量存储设备与 虚拟网卡设备的组合设备。
3、 根据权利要求 1所述的移动宽带设备, 其特征在于, 所述应用模块 用于被所述枚举的虚拟网卡设备的激活时, 进行网络连接为:
将移动宽带设备枚举为虚拟网卡设备后, 通过所述虚拟网卡设备激活 移动宽带设备的应用模块, 并利用应用模块提供的 http界面中实现拨号操 作, 所述拨号操作在应用模块的后台程序中调用拨号接口函数, 发起并完 成与无线网络的交互, 连接到外网。
4、 一种移动宽带设备的使用方法, 其特征在于, 该方法包括: 将移动宽带设备枚举为虚拟网卡设备;
通过枚举的虚拟网卡设备激活移动宽带设备的应用模块, 利用该应用 模块进行网络连接。
5、 根据权利要求 4所述的方法, 其特征在于, 所述将移动宽带设备枚 举为虚拟网卡设备为:
移动宽带设备的 USB接口模块将移动宽带设备枚举为存储设备, 再将 移动宽带设备重新枚举为虚拟网卡设备, 或将移动宽带设备枚举为大容量 存储设备与虚拟网卡设备的组合设备。
6、 根据权利要求 4所述的方法, 其特征在于, 所述通过枚举的虚拟网 卡设备激活移动宽带设备的应用模块, 利用该应用模块进行网络连接为: 当将移动宽带设备枚举为虚拟网卡设备后, 通过所述虚拟网卡设备激 活移动宽带设备的应用模块, 并利用应用模块提供的 http界面实现拨号操 作, 所述拨号操作在应用模块的后台程序中调用拨号接口函数, 发起并完 成与无线网络的交互, 连接到外网。
7、 根据权利要求 5 所述的方法, 其特征在于, 所述移动宽带设备的 USB接口模块将移动宽带设备枚举为存储设备, 再将移动宽带设备重新枚 举为虚拟网卡设备为:
将移动宽带设备枚举为存储设备, 该存储设备提供可执行程序; 运行可执行程序, 该可执行程序自动安装虚拟网卡设备的驱动文件, 并将切换指令发送给枚举为存储设备的移动宽带设备;
枚举为存储设备的移动宽带设备将移动宽带设备重新枚举为虚拟网卡 设备。
8、 根据权利要求 7所述的方法, 其特征在于, 所述将移动宽带设备枚 举为存储设备, 该存储设备提供可执行程序为:
移动宽带设备的 USB接口模块将移动宽带设备枚举为存储设备, 该存 储设备中挂载作为光盘的光盘镜像文件,在 PC中通过加载该光盘镜像文件 来模拟光盘的读取操作来提供可执行程序。
9、 根据权利要求 7所述的方法, 其特征在于, 所述枚举为存储设备的 移动宽带设备将移动宽带设备重新枚举为虚拟网卡设备为:
枚举为存储设备的移动宽带设备的 USB接口模块收到切换指令后, 将 移动宽带设备重新枚举为虚拟网卡设备; 其中, 所述虚拟网卡设备是 CDC-EEM设备、 CDC-NCM设备、 CDC-WHCM设备或自定义传输协议的 网卡设备; USB接口模块将移动宽带设备重新枚举为虚拟网卡设备后, 所 述虚拟网卡设备的驱动文件自动加载, 枚举为虚拟网卡设备的移动宽带设 备在 PC侧呈现虚拟网卡设备的形态。
PCT/CN2011/076103 2011-03-21 2011-06-22 一种移动宽带设备及其使用方法 WO2012126214A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011100680406A CN102130957A (zh) 2011-03-21 2011-03-21 一种移动宽带设备及其使用方法
CN201110068040.6 2011-03-21

Publications (1)

Publication Number Publication Date
WO2012126214A1 true WO2012126214A1 (zh) 2012-09-27

Family

ID=44268846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076103 WO2012126214A1 (zh) 2011-03-21 2011-06-22 一种移动宽带设备及其使用方法

Country Status (2)

Country Link
CN (1) CN102130957A (zh)
WO (1) WO2012126214A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067383B (zh) * 2012-12-27 2016-06-29 华为终端有限公司 无线上网设备和多媒体通信方法
CN104125204B (zh) * 2013-04-27 2018-04-10 华为终端有限公司 基于mbim接口实现通信方法及其设备
CN105338517B (zh) * 2014-06-26 2019-06-11 华为技术有限公司 发送消息的方法、移动宽带设备和主机
CN106817303A (zh) * 2016-12-13 2017-06-09 北京元心科技有限公司 在个人计算机和移动设备之间分享网络的方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767485A (zh) * 2004-10-29 2006-05-03 深圳市朗科科技有限公司 一种利用无线通信装置进行无线上网的方法
CN1946214A (zh) * 2006-10-31 2007-04-11 戴华敏 一种可以为其它电子设备提供无线上网功能的手机
TW200933487A (en) * 2008-01-30 2009-08-01 Ralink Technology Corp External device auto-run a driver installation and method thereof
CN101620538A (zh) * 2008-07-01 2010-01-06 希姆通信息技术(上海)有限公司 在usb网卡设备上自动运行cdrom功能的方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655823B (zh) * 2009-06-12 2012-12-19 中兴通讯股份有限公司 免安装数据卡驱动的实现方法、操作方法及系统
CN101588378A (zh) * 2009-06-17 2009-11-25 深圳华为通信技术有限公司 利用数据卡上网的方法、数据卡及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767485A (zh) * 2004-10-29 2006-05-03 深圳市朗科科技有限公司 一种利用无线通信装置进行无线上网的方法
CN1946214A (zh) * 2006-10-31 2007-04-11 戴华敏 一种可以为其它电子设备提供无线上网功能的手机
TW200933487A (en) * 2008-01-30 2009-08-01 Ralink Technology Corp External device auto-run a driver installation and method thereof
CN101620538A (zh) * 2008-07-01 2010-01-06 希姆通信息技术(上海)有限公司 在usb网卡设备上自动运行cdrom功能的方法

Also Published As

Publication number Publication date
CN102130957A (zh) 2011-07-20

Similar Documents

Publication Publication Date Title
US10445258B1 (en) Method for creation of device drivers and device objects for peripheral devices
CN101452435B (zh) 一种usb端口模式切换方法及终端
WO2010115366A1 (zh) 设备驱动方法、装置及通信系统
WO2011127845A2 (zh) 一种移动通信终端间进行系统升级的方法、系统及终端
WO2014194865A1 (zh) 一种固件升级方法、装置及通信设备
JP2008269288A (ja) 起動システム、起動プログラムおよびその方法。
WO2012100504A1 (zh) 一种无线通讯方法、系统及无线通讯终端
CN101662838B (zh) 一种实现免驱上网的装置、方法及usb数据卡
CN106406944A (zh) 一种禁止应用自启动的控制方法及系统
CN103164260B (zh) 用于移动终端的应用程序管理系统及方法
WO2012109886A1 (zh) 通过usb虚拟网卡接入无线网络的方法、系统及装置
CN103777981A (zh) 一种适用于x86架构的多操作系统远程加载实现方法
WO2012126214A1 (zh) 一种移动宽带设备及其使用方法
WO2018082289A1 (zh) 一种应用程序的管理方法、装置和计算机存储介质
WO2012034323A1 (zh) 使用数据卡与无线网络通信的方法、系统及数据卡
CN101901157B (zh) 一种管理软件自启动安装的方法及系统
WO2011107053A2 (zh) 数据接口配置方法及终端设备
WO2013189388A2 (zh) 一种接入usb网卡的方法、usb网卡及pc
WO2013167010A2 (zh) 一种移动终端及其开机方法
WO2011076064A1 (zh) 数据卡升级方法及装置
US10007529B2 (en) Data terminal running mode switching method, device, and data terminal
WO2013170612A1 (zh) 无线终端自适应网络升级的电话号码升级的方法及装置
WO2013004175A1 (zh) 一种电子设备的软件升级方法及装置
CA2790782C (en) Method and apparatus for implementing network device function of wireless communication terminal
WO2017096889A1 (zh) 系统升降级的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11861656

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11861656

Country of ref document: EP

Kind code of ref document: A1