WO2012155606A1 - Wireless communication terminal and method for driving the same - Google Patents
Wireless communication terminal and method for driving the same Download PDFInfo
- Publication number
- WO2012155606A1 WO2012155606A1 PCT/CN2012/071992 CN2012071992W WO2012155606A1 WO 2012155606 A1 WO2012155606 A1 WO 2012155606A1 CN 2012071992 W CN2012071992 W CN 2012071992W WO 2012155606 A1 WO2012155606 A1 WO 2012155606A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network device
- virtual bus
- driver
- usb
- network
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
Definitions
- the present invention relates to the field of communication technologies, and in particular, to a wireless communication terminal and a driving method thereof. Background technique
- a data card is a common wireless terminal product that provides users with high-speed network data services and outstanding mobility.
- the data card can be connected to the computer through a Universal Serial Bus (USB) or a Personal Computer Memory Card International Association (PCMCIA) standard interface.
- USB Universal Serial Bus
- PCMCIA Personal Computer Memory Card International Association
- the simplest data card can be just a modem device or a network device. Here, for convenience of description, it can be collectively referred to as a network device, and a complicated one may include a serial port, a television cat, a memory card, or a CD.
- USB data card a data card containing only a modem device or a network device is provided, and Windows provides a USB Hub driver for it.
- the data card manufacturer needs to provide a modem device or a network device driver located above the USB Hub.
- some data cards contain some other types of devices, such as readable and writable memory cards, which can be used by users as USB flash drives, including CDs, which can store some necessary software, including multiple devices.
- USB data cards are called USB composite devices.
- USB Hub devices require not only modem devices or network device drivers provided by USB Hub drivers and data card manufacturers, but also USB composite device driver support.
- the USB Hub device is the parent device of the USB composite device, and the USB composite device is the parent device of the network device and other devices.
- the USB Hub device is a USB composite device
- the USB composite device is a network device and other devices.
- Figure 1 is a typical prior art device structure diagram including storage Devices, network devices, other devices, and USB composite devices.
- the bottom part is a USB composite device, which can be regarded as the root device of the data card.
- the above is a common data card driver structure.
- the driver runs in the kernel mode and is an indispensable part of the data card. It provides a control interface to the application and performs various practical operations on the data card downward. Therefore, the reliability and stability of the drive is particularly important. Summary of the invention
- the object of the present invention is to provide a wireless communication terminal and a driving method thereof, in order to overcome the problem that the existing data card network device driver cannot be used after being plugged and unplugged in some cases.
- the present invention provides a method for driving a wireless communication terminal, the method comprising:
- the USB composite device driver of the wireless communication terminal creates and manages a virtual bus device; creates and manages its own network device, and transparently transmits USB requests and responses between the network device driver and the USB composite device driver.
- the method further includes:
- the composite device is loaded with a USB composite device driver.
- the method further includes:
- the USB composite device driver creates a virtual bus device.
- the virtual bus driver creates and manages its own network device as: The virtual bus driver determines if there is already a network device created by itself, and when not present, creates a network device, and when present, the virtual bus driver creates and reports a different network device than the existing network device.
- the present invention also provides a wireless communication terminal, where the wireless communication terminal includes a network device driving unit, a USB composite device driving unit, and a virtual bus driving unit;
- the USB composite device driving unit is configured to create and manage a virtual bus device; the virtual bus driving unit is configured to initialize and create the virtual network device, create and manage its own network device, and drive the network device in the network device USB request and response are transparently transmitted between the USB composite device driver units.
- the virtual bus driving unit includes an initialization module for setting global variables and dispatching routines to complete a driving initialization task.
- the virtual bus driving unit includes a plug-and-play module, which is responsible for creating, querying, and removing network devices, determining whether a network device created by itself exists, and when not present, creating a network device, when When present, create and report a network device that is different from the existing network.
- a plug-and-play module responsible for creating, querying, and removing network devices, determining whether a network device created by itself exists, and when not present, creating a network device, when When present, create and report a network device that is different from the existing network.
- the virtual bus driving unit includes a power module for processing driving messages of the virtual bus device and the network device.
- the virtual bus driver can identify various abnormal conditions of itself and network devices and can effectively handle them. For example, when a user uses a data card with a storage device to coexist, if the file on the memory card is opened and the data card is unplugged, the data card is inserted again due to the operating system itself, and the network card device cannot complete the initialization operation, resulting in the data card being unavailable. .
- the invention adds a virtual bus driver under the current data card driver, and isolates the network device of the data card and the USB composite device of the operating system.
- the creation and management of the network device is completely completed by the virtual bus driver, and the USB complex of the operating system is completed.
- Device drivers are no longer involved, and operations are even more Flexible.
- Figure 1 is a block diagram of a typical prior art device
- FIG. 2 is a structural diagram of a device according to an embodiment of the present invention.
- FIG. 3 is a schematic flow chart of an embodiment of the present invention. detailed description
- the invention is directed to a composite device, which overcomes the problem that the existing data card network device driver cannot be used after being plugged and unplugged under certain circumstances. For example, for a data card with a storage device coexisting, if the user unplugs the data card after opening the file in the storage device and inserts it again, the network device of the data card cannot be used. Viewing the device manager will display a yellow exclamation point, which is due to the opening. The file is not closed. The card downloading system does not send a removal notification to the disc and other devices. The driver cannot delete the device. When the card is inserted again, the USB composite device driver enumerates the same device. The network device driver cannot complete the initialization, and the device cannot be enabled. use.
- the technical solution of the present invention includes a network device driving unit, a USB composite device driving unit, and a virtual bus driving unit.
- a USB composite device is the parent device of a virtual bus device. It is responsible for creating and managing virtual bus devices.
- the virtual bus device is the parent device of the network device and is responsible for creating and managing network devices. That is, a virtual bus driving unit is added between the network device driving unit and the USB composite device driving unit, and the virtual bus driving unit is responsible for creating and managing the network device thereon, and is transparent between the network device driving unit and the USB composite device driving unit. Pass USB request and response.
- the virtual bus driver unit mainly consists of three parts: an initialization module, a plug-and-play module, and a power module.
- the initialization module sets global variables and dispatch routines to complete the driver initialization task.
- the plug-and-play module is responsible for the creation, query, and removal of network devices.
- the power module handles drive messages for virtual bus devices and network devices.
- FIG. 2 is a structural diagram of a device according to an embodiment of the present invention, including a storage device, a network device, other devices, a virtual bus device, and a USB composite device.
- the USB composite device At the bottom is the USB composite device.
- the operating system loads the USB composite device driver for the data card, and the USB composite device driver creates the storage device, the virtual bus device and other devices.
- the virtual bus driver recreates the network device, and the operating system loads the network device driver.
- Fig. 3 is a flow chart showing an embodiment of the present invention, showing the entire process from the start of the user card to the establishment of all the drivers.
- S301 The user inserts a data card
- step S302 The operating system determines whether it is a composite device data card, if not, proceeds to step S308 to directly load the network device driver, the process ends; if it is a composite device data card, then proceeds to step S303;
- step S304 determining whether it is a storage device coexistence data card, if not, proceeding to step S308 to directly load the network device driver, the process ends; if the storage device coexists with the data card, then proceeds to step S305;
- USB composite device driver creates a virtual bus device, and the operating system loads the virtual bus driver for the virtual bus device;
- step S306 The virtual bus driver checks whether there is already a network device created by the network device, if not, then proceeds to step S307, and if yes, proceeds to step S309;
- this step when there is a network device created by the virtual bus driver, it indicates that the previous network device has not been removed, which may be caused by the user inserting the card or other reasons without closing the file on the storage device.
- the present invention has the following advantages and effects:
- the virtual bus driver can identify multiple anomalies of itself and network devices and can handle them efficiently. For example, when a user uses a data card that coexists with a storage device, if the file on the memory card is opened and the data card is unplugged, the data card is inserted again due to the operating system itself, and the network device cannot complete the initialization operation, resulting in the data card being unavailable. .
- the invention adds a virtual bus driver under the current data card driver, and isolates the network device of the data card and the USB composite device of the operating system. The creation and management of the network device is completely completed by the virtual bus driver, and the USB composite device driver of the operating system is driven. No longer involved, the operation is more flexible.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
一种无线通信终端及其驱动方法 技术领域 Wireless communication terminal and driving method thereof
本发明涉及通信技术领域, 更具体地, 涉及一种无线通信终端及其驱 动方法。 背景技术 The present invention relates to the field of communication technologies, and in particular, to a wireless communication terminal and a driving method thereof. Background technique
数据卡是一种常见的无线终端产品, 可提供用户高速的网络数据业务 和突出的移动性。数据卡可以通过通用串行总线( Universal Serial Bus, USB ) 或 PC机内存卡国际联合会 ( Personal Computer Memory Card International Association, PCMCIA )标准接口等接口与计算机连接。 最简单的数据卡可 以只是一个调制解调器设备或一个网络设备, 这里, 为便于描述, 可统称 为网络设备, 复杂一些的可以包含串口、 电视猫、 存储卡或光盘等。 A data card is a common wireless terminal product that provides users with high-speed network data services and outstanding mobility. The data card can be connected to the computer through a Universal Serial Bus (USB) or a Personal Computer Memory Card International Association (PCMCIA) standard interface. The simplest data card can be just a modem device or a network device. Here, for convenience of description, it can be collectively referred to as a network device, and a complicated one may include a serial port, a television cat, a memory card, or a CD.
当今使用 Windows操作系统的用户最多,在 Windows上使用数据卡需 要驱动软件的支持, Windows自身已提供多种通用的设备驱动。 以 USB数 据卡为例, 仅包含调制解调器设备或网络设备的数据卡, Windows 为其提 供 USB Hub驱动,数据卡厂商需要提供位于 USB Hub之上的调制解调器设 备或网络设备驱动。 除了调制解调器设备或网络设备, 有些数据卡会包含 一些其他类型的设备, 例如包含可读写的存储卡, 可供用户当 U盘使用, 包含光盘, 可存放一些必要的软件, 包含多个设备的 USB数据卡叫做 USB 复合设备, 此类设备不仅需要 USB Hub驱动和数据卡厂商提供的调制解调 器设备或网络设备驱动, 还需要 USB复合设备驱动支持。 USB Hub设备是 USB复合设备的父设备, USB复合设备是网络设备和其他设备的父设备。 用树形结构表示, USB Hub设备之上是 USB复合设备, USB复合设备之上 是网络设备和其他设备。 图 1 是典型的现有技术的设备结构图, 包括存储 设备、 网络设备、 其他设备和 USB复合设备。 最下部是 USB复合设备, 可 以把它看作是数据卡的根设备, 用户插卡时, 操作系统为数据卡加载 USB 复合设备驱动, USB复合设备枚举数据卡的存储设备、 网络设备和 /或其他 设备。 Most users today use the Windows operating system. The use of data cards on Windows requires driver software support. Windows itself has provided a variety of general-purpose device drivers. Taking a USB data card as an example, a data card containing only a modem device or a network device is provided, and Windows provides a USB Hub driver for it. The data card manufacturer needs to provide a modem device or a network device driver located above the USB Hub. In addition to modem devices or network devices, some data cards contain some other types of devices, such as readable and writable memory cards, which can be used by users as USB flash drives, including CDs, which can store some necessary software, including multiple devices. USB data cards are called USB composite devices. These devices require not only modem devices or network device drivers provided by USB Hub drivers and data card manufacturers, but also USB composite device driver support. The USB Hub device is the parent device of the USB composite device, and the USB composite device is the parent device of the network device and other devices. In the form of a tree structure, the USB Hub device is a USB composite device, and the USB composite device is a network device and other devices. Figure 1 is a typical prior art device structure diagram including storage Devices, network devices, other devices, and USB composite devices. The bottom part is a USB composite device, which can be regarded as the root device of the data card. When the user inserts the card, the operating system loads the USB composite device driver for the data card, and the USB composite device enumerates the storage device of the data card, the network device and/or Or other equipment.
以上是常见的数据卡驱动结构, 驱动运行在内核态, 是数据卡不可缺 少的部分, 它向上给应用程序提供控制接口, 向下完成对数据卡的各种实 际操作。 所以驱动的可靠性和稳定性就显得尤为重要。 发明内容 The above is a common data card driver structure. The driver runs in the kernel mode and is an indispensable part of the data card. It provides a control interface to the application and performs various practical operations on the data card downward. Therefore, the reliability and stability of the drive is particularly important. Summary of the invention
本发明目的是: 为克服现有数据卡网络设备驱动在某些情况下拔插后 无法使用的问题, 而提出一种无线通信终端及其驱动方法。 The object of the present invention is to provide a wireless communication terminal and a driving method thereof, in order to overcome the problem that the existing data card network device driver cannot be used after being plugged and unplugged in some cases.
为实现上述目的, 本发明提出一种无线通信终端驱动方法, 所述方法 包括: To achieve the above object, the present invention provides a method for driving a wireless communication terminal, the method comprising:
所述无线通信终端的 USB复合设备驱动创建和管理虚拟总线设备; 创建和管理自身的网络设备, 并在网络设备驱动和 USB复合设备驱动间透 传 USB请求和响应。 The USB composite device driver of the wireless communication terminal creates and manages a virtual bus device; creates and manages its own network device, and transparently transmits USB requests and responses between the network device driver and the USB composite device driver.
进一步地, 在所述 USB复合设备驱动创建和管理虚拟总线设备之前, 所述方法还包括: Further, before the USB composite device driver creates and manages the virtual bus device, the method further includes:
当确定检测到的网络设备是复合设备时, 为所述复合设备加载 USB复 合设备驱动。 When it is determined that the detected network device is a composite device, the composite device is loaded with a USB composite device driver.
进一步地, 在为所述复合设备加载 USB复合设备驱动之后, 所述方法 还包括: Further, after loading the USB composite device driver for the composite device, the method further includes:
当确定所述网络设备是存储设备共存网络设备时, USB 复合设备驱动 创建虚拟总线设备。 When it is determined that the network device is a storage device coexistence network device, the USB composite device driver creates a virtual bus device.
进一步地, 所述虚拟总线驱动创建和管理自身的网络设备为: 虚拟总线驱动判断是否已经存在由自身创建的网络设备, 当不存在时, 创建网络设备, 当存在时, 虚拟总线驱动创建并报告一个与已经存在的网 络设备不同的网络设备。 Further, the virtual bus driver creates and manages its own network device as: The virtual bus driver determines if there is already a network device created by itself, and when not present, creates a network device, and when present, the virtual bus driver creates and reports a different network device than the existing network device.
本发明还提出一种无线通信终端, 所述无线通信终端包括网络设备驱 动单元、 USB复合设备驱动单元和虚拟总线驱动单元; 其中, The present invention also provides a wireless communication terminal, where the wireless communication terminal includes a network device driving unit, a USB composite device driving unit, and a virtual bus driving unit;
所述 USB复合设备驱动单元, 用于创建和管理虚拟总线设备; 所述虚拟总线驱动单元, 用于初始化所述虚拟总线设备成功后, 创建 和管理自身的网络设备, 并在网络设备驱动单元和 USB复合设备驱动单元 间透传 USB请求和响应。 The USB composite device driving unit is configured to create and manage a virtual bus device; the virtual bus driving unit is configured to initialize and create the virtual network device, create and manage its own network device, and drive the network device in the network device USB request and response are transparently transmitted between the USB composite device driver units.
进一步地, 所述虚拟总线驱动单元包括初始化模块, 用于设置全局变 量和派遣例程, 完成驱动初始化任务。 Further, the virtual bus driving unit includes an initialization module for setting global variables and dispatching routines to complete a driving initialization task.
进一步地, 所述虚拟总线驱动单元包括即插即用模块, 用于负责网络 设备的创建、 查询和移除, 判断是否已经存在由自身创建的网络设备, 当 不存在时, 创建网络设备, 当存在时, 创建并报告一个与已经存在的网络 不同的网络设备。 Further, the virtual bus driving unit includes a plug-and-play module, which is responsible for creating, querying, and removing network devices, determining whether a network device created by itself exists, and when not present, creating a network device, when When present, create and report a network device that is different from the existing network.
进一步地, 所述虚拟总线驱动单元包括电源模块, 用于负责处理虚拟 总线设备和网络设备的驱动消息。 Further, the virtual bus driving unit includes a power module for processing driving messages of the virtual bus device and the network device.
综上所述, 采用本发明具有如下有益效果: In summary, the use of the present invention has the following beneficial effects:
1 )虚拟总线驱动可以识别自身和网络设备的多种异常情况, 并能有效 处理。 例如, 用户在使用存储设备共存的数据卡时, 如果打开存储卡上的 文件后拔出数据卡, 由于操作系统自身的原因, 再次插入数据卡, 网卡设 备无法完成初始化操作, 导致数据卡不可使用。 1) The virtual bus driver can identify various abnormal conditions of itself and network devices and can effectively handle them. For example, when a user uses a data card with a storage device to coexist, if the file on the memory card is opened and the data card is unplugged, the data card is inserted again due to the operating system itself, and the network card device cannot complete the initialization operation, resulting in the data card being unavailable. .
2 )本发明在现行的数据卡驱动下层增加一个虚拟总线驱动, 隔离了数 据卡的网络设备和操作系统的 USB复合设备, 网络设备的创建和管理完全 由虚拟总线驱动完成, 操作系统的 USB复合设备驱动不再参与, 操作更加 灵活。 附图说明 2) The invention adds a virtual bus driver under the current data card driver, and isolates the network device of the data card and the USB composite device of the operating system. The creation and management of the network device is completely completed by the virtual bus driver, and the USB complex of the operating system is completed. Device drivers are no longer involved, and operations are even more Flexible. DRAWINGS
图 1是典型的现有技术的设备结构图; Figure 1 is a block diagram of a typical prior art device;
图 2是本发明实施例的设备结构图; 2 is a structural diagram of a device according to an embodiment of the present invention;
图 3是本发明实施例的流程示意图。 具体实施方式 FIG. 3 is a schematic flow chart of an embodiment of the present invention. detailed description
本发明针对复合设备, 克服现有数据卡网络设备驱动在某些情况下拔 插后无法使用的问题。 例如, 对于存储设备共存的数据卡, 如果用户打开 存储设备中的文件后拔出数据卡, 再次插入时, 数据卡的网络设备无法使 用, 查看设备管理器会出现黄色感叹号, 这是由于打开的文件没有关闭, 拔卡操作系统不会给光盘和其他设备发送移除通知, 驱动无法删除设备, 再次插卡时 USB复合设备驱动会枚举同一个设备, 网络设备驱动无法完成 初始化, 导致设备无法使用。 The invention is directed to a composite device, which overcomes the problem that the existing data card network device driver cannot be used after being plugged and unplugged under certain circumstances. For example, for a data card with a storage device coexisting, if the user unplugs the data card after opening the file in the storage device and inserts it again, the network device of the data card cannot be used. Viewing the device manager will display a yellow exclamation point, which is due to the opening. The file is not closed. The card downloading system does not send a removal notification to the disc and other devices. The driver cannot delete the device. When the card is inserted again, the USB composite device driver enumerates the same device. The network device driver cannot complete the initialization, and the device cannot be enabled. use.
本发明技术方案包括网络设备驱动单元、 USB复合设备驱动单元和一 个虚拟总线驱动单元。 USB复合设备是虚拟总线设备的父设备, 负责创建 和管理虚拟总线设备, 虚拟总线设备是网络设备的父设备, 负责创建和管 理网络设备。 即在网络设备驱动单元和 USB复合设备驱动单元之间增加一 层虚拟总线驱动单元, 虚拟总线驱动单元负责创建和管理其上的网络设备, 并在网络设备驱动单元和 USB复合设备驱动单元间透传 USB请求和响应。 The technical solution of the present invention includes a network device driving unit, a USB composite device driving unit, and a virtual bus driving unit. A USB composite device is the parent device of a virtual bus device. It is responsible for creating and managing virtual bus devices. The virtual bus device is the parent device of the network device and is responsible for creating and managing network devices. That is, a virtual bus driving unit is added between the network device driving unit and the USB composite device driving unit, and the virtual bus driving unit is responsible for creating and managing the network device thereon, and is transparent between the network device driving unit and the USB composite device driving unit. Pass USB request and response.
虚拟总线驱动单元主要包含三部分: 初始化模块、 即插即用模块和电 源模块。 初始化模块设置全局变量和派遣例程, 完成驱动初始化任务。 即 插即用模块负责网络设备的创建、 查询和移除等功能。 电源模块负责处理 虚拟总线设备和网络设备的驱动消息。 The virtual bus driver unit mainly consists of three parts: an initialization module, a plug-and-play module, and a power module. The initialization module sets global variables and dispatch routines to complete the driver initialization task. The plug-and-play module is responsible for the creation, query, and removal of network devices. The power module handles drive messages for virtual bus devices and network devices.
下面结合附图对技术方案的实施作进一步的详细描述。 图 2是本发明实施例的设备结构图, 包括存储设备、 网络设备、 其他 设备、虚拟总线设备和 USB复合设备。 最下面是 USB复合设备, 用户插卡 时, 操作系统为数据卡加载 USB复合设备驱动, USB复合设备驱动创建存 储设备、 虚拟总线设备和其他设备。 等虚拟总线设备初始化成功后, 虚拟 总线驱动再创建网络设备, 此时操作系统加载网络设备驱动。 The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings. 2 is a structural diagram of a device according to an embodiment of the present invention, including a storage device, a network device, other devices, a virtual bus device, and a USB composite device. At the bottom is the USB composite device. When the user inserts the card, the operating system loads the USB composite device driver for the data card, and the USB composite device driver creates the storage device, the virtual bus device and other devices. After the virtual bus device is successfully initialized, the virtual bus driver recreates the network device, and the operating system loads the network device driver.
图 3是本发明实施例的流程示意图, 显示从用户插卡开始, 到所有驱 动建立的整个过程。 Fig. 3 is a flow chart showing an embodiment of the present invention, showing the entire process from the start of the user card to the establishment of all the drivers.
S301 : 用户插入数据卡; S301: The user inserts a data card;
S302:操作系统判断是否是复合设备数据卡,如果不是,转入步驟 S308 直接加载网络设备驱动, 流程结束; 如果是复合设备数据卡, 则转入步驟 S303; S302: The operating system determines whether it is a composite device data card, if not, proceeds to step S308 to directly load the network device driver, the process ends; if it is a composite device data card, then proceeds to step S303;
S303: 操作系统为数据卡加载 USB复合设备驱动; S303: The operating system loads the USB composite device driver for the data card;
S304: 判断是否是存储设备共存数据卡, 如果不是, 转入步驟 S308直 接加载网络设备驱动, 流程结束; 如果是存储设备共存数据卡, 则转入步 驟 S305; S304: determining whether it is a storage device coexistence data card, if not, proceeding to step S308 to directly load the network device driver, the process ends; if the storage device coexists with the data card, then proceeds to step S305;
S305: USB复合设备驱动创建虚拟总线设备, 操作系统为虚拟总线设 备加载虚拟总线驱动; S305: The USB composite device driver creates a virtual bus device, and the operating system loads the virtual bus driver for the virtual bus device;
S306: 虚拟总线驱动查看是否已经存在由其创建的网络设备, 如果不 存在则转入步驟 S307, 如果存在则转入步驟 S309; S306: The virtual bus driver checks whether there is already a network device created by the network device, if not, then proceeds to step S307, and if yes, proceeds to step S309;
本步驟中, 当存在由虚拟总线驱动创建的网络设备时, 说明前一个网 络设备没有被移除, 具体可能是由于用户没有关闭存储设备上的文件就拔 插卡或其它原因所造成。 In this step, when there is a network device created by the virtual bus driver, it indicates that the previous network device has not been removed, which may be caused by the user inserting the card or other reasons without closing the file on the storage device.
S307: 创建网络设备; S307: Create a network device;
S308: 操作系统加载网络设备驱动, 并转入步驟 S310; S308: The operating system loads the network device driver, and proceeds to step S310;
S309:虚拟总线驱动创建并报告一个不同的网络设备并转入步驟 S310; S310: 流程结束。 S309: The virtual bus driver creates and reports a different network device and proceeds to step S310; S310: The process ends.
与现有技术相比较, 本发明具有如下优点和效果: Compared with the prior art, the present invention has the following advantages and effects:
虚拟总线驱动可以识别自身和网络设备的多种异常情况, 并能有效处 理。 例如, 用户在使用存储设备共存的数据卡时, 如果打开存储卡上的文 件后拔出数据卡, 由于操作系统自身的原因, 再次插入数据卡, 网络设备 无法完成初始化操作, 导致数据卡不可使用。 本发明在现行的数据卡驱动 下层增加一个虚拟总线驱动, 隔离了数据卡的网络设备和操作系统的 USB 复合设备, 网络设备的创建和管理完全由虚拟总线驱动完成, 操作系统的 USB复合设备驱动不再参与, 操作更加灵活。 The virtual bus driver can identify multiple anomalies of itself and network devices and can handle them efficiently. For example, when a user uses a data card that coexists with a storage device, if the file on the memory card is opened and the data card is unplugged, the data card is inserted again due to the operating system itself, and the network device cannot complete the initialization operation, resulting in the data card being unavailable. . The invention adds a virtual bus driver under the current data card driver, and isolates the network device of the data card and the USB composite device of the operating system. The creation and management of the network device is completely completed by the virtual bus driver, and the USB composite device driver of the operating system is driven. No longer involved, the operation is more flexible.
当然, 本发明还可有多种实施方式, 在不背离本发明精神及其实质的 情况, 熟悉本领域的技术人员当然可根据本发明做出各种相应的更改或变 化, 但凡在本发明的精神和原则之内所作的任何修改、 等同替换、 改进, 均应包含在本发明的保护范围之内。 Of course, the present invention may be embodied in various other modifications and changes without departing from the spirit and scope of the invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles are intended to be included within the scope of the present invention.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110314262.1A CN102339265B (en) | 2011-10-17 | 2011-10-17 | A kind of wireless communication terminal and its driving method |
| CN201110314262.1 | 2011-10-17 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012155606A1 true WO2012155606A1 (en) | 2012-11-22 |
Family
ID=45515004
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/071992 Ceased WO2012155606A1 (en) | 2011-10-17 | 2012-03-06 | Wireless communication terminal and method for driving the same |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102339265B (en) |
| WO (1) | WO2012155606A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102339265B (en) * | 2011-10-17 | 2017-08-11 | 中兴通讯股份有限公司 | A kind of wireless communication terminal and its driving method |
| CN105094880A (en) * | 2014-05-23 | 2015-11-25 | 中兴通讯股份有限公司 | USB driving method, computer and compound equipment |
| CN111221768B (en) * | 2020-01-10 | 2024-05-31 | 珠海趣印科技有限公司 | A USB device composite communication method and system |
| CN116016726B (en) * | 2023-02-07 | 2024-09-17 | 迈普通信技术股份有限公司 | Device control method and distributed system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1716225A (en) * | 2004-04-29 | 2006-01-04 | 微软公司 | Generic USB drivers |
| US20090303521A1 (en) * | 2008-06-06 | 2009-12-10 | Moschip Seminconductor Technology Limited | Method and system for sharing of a usb printer to all clients |
| US20100306788A1 (en) * | 2009-05-26 | 2010-12-02 | Samsung Electronics Co., Ltd. | Apparatus and method for supporting suspend of composite network device |
| CN102339265A (en) * | 2011-10-17 | 2012-02-01 | 中兴通讯股份有限公司 | Wireless communication terminal and driving method thereof |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8284768B2 (en) * | 2005-10-06 | 2012-10-09 | Sierra Wireless, Inc. | Dynamic bus-based virtual channel multiplexing device driver architecture |
| US8332846B2 (en) * | 2008-02-28 | 2012-12-11 | Sony Mobile Communications Ab | Selective exposure to USB device functionality for a virtual machine by filtering descriptors |
-
2011
- 2011-10-17 CN CN201110314262.1A patent/CN102339265B/en active Active
-
2012
- 2012-03-06 WO PCT/CN2012/071992 patent/WO2012155606A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1716225A (en) * | 2004-04-29 | 2006-01-04 | 微软公司 | Generic USB drivers |
| US20090303521A1 (en) * | 2008-06-06 | 2009-12-10 | Moschip Seminconductor Technology Limited | Method and system for sharing of a usb printer to all clients |
| US20100306788A1 (en) * | 2009-05-26 | 2010-12-02 | Samsung Electronics Co., Ltd. | Apparatus and method for supporting suspend of composite network device |
| CN102339265A (en) * | 2011-10-17 | 2012-02-01 | 中兴通讯股份有限公司 | Wireless communication terminal and driving method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102339265B (en) | 2017-08-11 |
| CN102339265A (en) | 2012-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102959502B (en) | Method for providing asynchronous event notification in the system | |
| CN101989212B (en) | Method and device for providing virtual machine management program for starting blade server | |
| CN104636076B (en) | A kind of distributed block device drives method and system for cloud storage | |
| CN106933753B (en) | Control method and device for intelligent interface card | |
| CN101609408A (en) | A method and system for realizing self-starting of terminal equipment | |
| CN103365667A (en) | Method and device for installing operating system in host system | |
| WO2018040746A1 (en) | Driver installation method, device, and electronic apparatus | |
| JP2013254304A (en) | Information processing apparatus, information processing method, and program | |
| WO2012155606A1 (en) | Wireless communication terminal and method for driving the same | |
| KR100654675B1 (en) | Portable Digital Storage System and Method for Running Application Program on Host Computer | |
| CN118901053A (en) | The host operating system and the data processing unit operating system are shut down synchronously | |
| CN101887374B (en) | The method and system of installing terminal equipment | |
| CN114217900B (en) | Remote control method, device, system, computing device and storage medium | |
| US9384525B2 (en) | Systems and methods for providing pre-operating system and post-operating system remote management of information handling system | |
| CN103412836A (en) | Hot plug processing method, device and system | |
| TW200849122A (en) | User message management method and system | |
| WO2015131553A1 (en) | Data transmission method and system | |
| CN108847959B (en) | Server monitoring method and server | |
| CN101853142B (en) | Identification method of USB device with virtual drive | |
| WO2011076064A1 (en) | Data card upgrading method and device | |
| CN101325653B (en) | Apparatus and method for implementing plug-and-play function in set-top box | |
| CN107861803A (en) | Cpci bus RS422 communications driving method under a kind of XP systems based on interruption | |
| WO2015127893A1 (en) | Capability determination method, capability configuration method, host, terminal device and system | |
| CN118520450A (en) | Hot-swap device management method and device | |
| US9390041B2 (en) | Method for processing device connection, combination device and host device |
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: 12785763 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: 12785763 Country of ref document: EP Kind code of ref document: A1 |