WO2014000544A1 - 数据卡的启动方法及数据卡 - Google Patents

数据卡的启动方法及数据卡 Download PDF

Info

Publication number
WO2014000544A1
WO2014000544A1 PCT/CN2013/076288 CN2013076288W WO2014000544A1 WO 2014000544 A1 WO2014000544 A1 WO 2014000544A1 CN 2013076288 W CN2013076288 W CN 2013076288W WO 2014000544 A1 WO2014000544 A1 WO 2014000544A1
Authority
WO
WIPO (PCT)
Prior art keywords
data card
webpage
open
instruction
virtual keyboard
Prior art date
Application number
PCT/CN2013/076288
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 WO2014000544A1 publication Critical patent/WO2014000544A1/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/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Definitions

  • the present invention relates to the field of communications, and in particular to a method for starting a data card and a data card. Background technique
  • 3G third-generation mobile communication
  • 3G terminals are gradually favored by people.
  • data cards are naturally popular among consumers.
  • driverless installation is becoming a way to effectively improve the user experience.
  • the drive-free data card can use the driver that comes with the system.
  • the communication channel between the PC and the data card is only the network card device.
  • the drive-free data card contains a WEB server module, and the control of the data card is implemented in the form of a web page.
  • the free drive data card will install a small program on the PC side. This program will establish a link to facilitate the user to open the configuration page of the data card and configure the data card.
  • the program generally runs in the background. When it detects that the user inserts the data card, a web page pops up for the user to configure.
  • FIG. 1 is a method for starting a data-free data card provided by the related art. As shown in FIG. 1, the method includes the following steps:
  • Step S102 the data card is inserted and reported to the optical disc device.
  • the optical disc device and the network port device are enumerated, and the optical disc device data card is inserted into the PCo.
  • Step S104 determining whether the PC side software is installed.
  • the data card determines whether the PC side software has been installed. If it is installed, step S110 is performed, otherwise step S106 is performed. In step S106, the user installs the PC side software.
  • the user installs the PC side software from the optical disc device.
  • Step S108 the data card switches the corresponding working mode.
  • the PC side software After the PC side software is installed, the PC side software sends a working mode switching instruction to the data card to switch the data card from the optical disk device to the network port device.
  • Step S110 the data card is reported to the working port again.
  • the data card reset is switched to the network port device, that is, the working mode, and the device descriptor of the working mode is reported to the PC.
  • the data card since the software program must be installed on the PC side to use the data card to open the configuration page of the data card, the data card has two modes for installing the PC side software or detecting whether the PC side software is installed:
  • the disc mode means that the data card enumerates the disc for the user to install the PC side software or detects whether the software is installed on the PC side;
  • the second type is the working mode, that is, the data card enumerates the normal operation of the network port. It can be seen that the user switches from the disc mode to the working mode every time the user inserts and inserts the data card, which undoubtedly increases the waiting time of the user.
  • the invention provides a data card startup method and a data card to solve at least the above problems.
  • a method for starting a data card including: enumerating a data card connected to a master device as a composite device, wherein the composite device includes a virtual keyboard device; and WEB according to the data card
  • the server address generates an instruction to open the data card configuration webpage; controlling the virtual keyboard device to send the instruction to open the data card configuration webpage to the master device to cause the master device to open the data card configuration webpage.
  • the method includes: controlling, when there is a new short message or an incoming call, the virtual keyboard device to send an instruction to open the short message webpage address or the incoming webpage address to the master device to make the master device Open the corresponding web page to display a new text message or display an incoming call.
  • the virtual keyboard device comprises a functional interface of a human interface device HID keyboard type.
  • the composite device further includes a network port device to connect the data card to the WEB server of the data card.
  • the generating, according to the WEB server address of the data card, the instruction to open the data card configuration webpage comprises: generating an open data card configuration webpage according to a characteristic of the main device operating system and a WEB server address of the data card preset in advance instruction.
  • a data card including: an enumeration module, configured to enumerate a data card connected to a master device as a composite device, wherein the composite device includes a virtual keyboard device; And being configured to generate an instruction to open the data card configuration webpage according to the WEB server address of the data card, and control the virtual keyboard device to send the instruction to open the data card configuration webpage to the primary device to enable the primary device to open The data card configuration web page.
  • the webpage control module is configured to, when there is a new short message or an incoming call, control the virtual keyboard device to send an instruction to open the short webpage address or the incoming webpage address to the primary device, so that the main device opens the corresponding webpage to display a new SMS or show incoming calls.
  • the virtual keyboard device comprises a functional interface of a human interface device HID keyboard type.
  • the composite device further includes a network port device to connect the data card to the WEB server of the data card.
  • the webpage control module is configured to generate an instruction to open the data card configuration webpage according to the characteristics of the main device operating system and the WEB server address of the data card set in advance.
  • the data card connected to the master device is first enumerated as a composite device, wherein the composite device includes a virtual keyboard device, and is generated according to the WEB server address of the data card. Opening an instruction of the data card configuration webpage, and then controlling the virtual keyboard device to send the instruction to open the data card configuration webpage to the master device, so that the master device opens the data card configuration webpage, and the data card must be solved
  • the software program installed on the main device side can use the data card to open the data card configuration webpage, thereby achieving the beneficial effects of saving user time, facilitating user use, and improving user experience.
  • FIG. 2 is a flowchart of a method for starting a data card according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a data card according to an embodiment of the present invention.
  • FIG. 4 is a flow chart of a method for starting a data card in accordance with a preferred embodiment of the present invention
  • FIG. 5 is a block diagram showing the structure of a data card in accordance with a preferred embodiment of the present invention. detailed description
  • FIG. 2 is a flowchart of a method for starting a data card according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • Step S202 enumerating the data card connected to the master device as a composite device, wherein the composite device includes a virtual keyboard device.
  • Step S204 Generate an instruction to open the data card configuration webpage according to the WEB server address of the data card.
  • Step S206 the virtual keyboard device is controlled to send an instruction to open the data card configuration webpage to the master device to enable the master device to open the data card configuration webpage.
  • the PC side needs to open the data card configuration webpage, and the PC side software must be installed on the PC side. Therefore, after the data card is inserted into the PC, it is necessary to detect whether the PC side software is installed.
  • the data card has two modes, one is the disc mode, and the other is the working mode. The data card first enters the disc mode to determine whether the software is installed on the PC side. If it is not installed, install the software from the disc and then switch to the working mode; if it is already installed, switch directly to the working mode. It can be seen that the user needs to switch from the disc mode to the working mode each time the user inserts and removes the data card, which undoubtedly increases the waiting time of the user.
  • the data card enumerates the virtual keyboard device, and the virtual keyboard device sends an instruction to open the data card configuration webpage to the main device, thereby eliminating the need to install the PC side software, and not detecting whether the PC side software is installed, and not Switching between the optical disc mode and the working mode provides technical implementation possibilities for solving the problems in the related art.
  • the virtual keyboard device can send an instruction to open the data card configuration webpage to the main device to enable the main device to open the data card configuration webpage, then when there is a new short message or an incoming call, the virtual keyboard device can also be controlled to send the open SMS webpage address to the primary device. Or the command of the incoming webpage address to cause the main device to open the corresponding webpage to display a new short message or display an incoming call.
  • the PC side software when there is a new short message or an incoming call, can also display a new short message or an incoming call on the configuration page, and the above steps are not required, and the PC side software is not required to be installed.
  • the master device can open the corresponding web page to display a new text message or display an incoming call to remind the user.
  • the examples in this paragraph are merely a preferred example and are not limited thereto. In other embodiments, it is also possible to send other instructions to the master device via the virtual keyboard to operate the configuration page of the data card.
  • the virtual keyboard device may include a human interface device (Human Interface Device, referred to as HID) The functional interface of the keyboard type.
  • HID Human Interface Device
  • the virtual keyboard device can include a functional interface of the HID keyboard type, such that the virtual keyboard device is a standard HID keyboard device when viewed on the host device side.
  • the virtual keyboard device may also include a functional interface of other HID type devices to control the configuration page of the master device operating data card.
  • the composite device of the data card can also include a network port device to connect the data card to the WEB server of the data card.
  • the network port device is a key device for connecting the data card to the mobile network and the data card WEB server, so the data card can enumerate the network port device.
  • the data card can also enumerate other devices, such as mass storage devices. This embodiment is only a preferred embodiment and is not limited thereto.
  • the instruction to open the data card configuration webpage may be generated according to the characteristics of the main device operating system and the WEB server address of the preset data card, and may be directed to the main device through the virtual keyboard device.
  • the device sends the command.
  • the instructions for different operating systems may be different, so it may be necessary to consider the characteristics of the operating system of the host device.
  • the WEB server address is obtained may also be considered when generating the command.
  • the instruction to open the data card configuration webpage may also be generated according to other characteristics or data, and details are not described herein again.
  • a data card is provided in the embodiment of the present invention.
  • the terms “sub-module”, “module”, “component” or “unit” may refer to execution on the regression testing device 100 of the web application.
  • Software object or routine The different components, sub-modules, modules, units, engines, and services described herein can be implemented to be executed on the regression testing device 100 of the web application (eg, For example, as a separate thread) object or process.
  • the systems and methods described herein are preferably implemented in software, hardware or a combination of software and hardware is also possible and contemplated.
  • module can implement a combination of software and/or hardware for a predetermined function.
  • apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable.
  • FIG. 3 is a schematic structural diagram of a data card according to an embodiment of the present invention. As shown in FIG. 3, the data card includes: an enumeration module 302 and a webpage control module 304. This will be explained below.
  • the enumeration module 302 is configured to enumerate the data card connected to the master device as a composite device 3022, wherein the composite device 3022 includes a virtual keyboard device 3026.
  • the webpage control module 304 is configured to generate an instruction to open the data card configuration webpage according to the WEB server address of the data card, and control the virtual keyboard device 3026 to send the instruction to open the data card configuration webpage to the master device to enable the master device to open the data card configuration webpage. .
  • the webpage control module 304 is configured to, when there is a new short message or an incoming call, control the virtual keyboard device 3026 to send an instruction to open the short webpage address or the incoming webpage address to the main device to enable the main device to open the corresponding webpage to display a new short message or display an incoming call. .
  • the virtual keyboard device 3026 includes a functional interface of the human interface device HID keyboard type.
  • the composite device 3022 further includes a network port device 3024 to connect the data card to a WEB server of the data card.
  • the web page control module 304 is configured to generate an instruction to open the data card configuration web page according to the characteristics of the main device operating system and the WEB server address of the pre-set data card.
  • the data card may implement the function of the data card in the method in the first embodiment by using the foregoing module or by setting a new module. The embodiment will not be described again.
  • FIG. 4 is a flowchart of a method for starting a data card according to a preferred embodiment of the present invention. As shown in FIG. 4, the method includes:
  • Step S402 the data card is enumerated as a composite device.
  • the data card side software enumerates the data card as a composite device, and the composite device includes a virtual keyboard device and a network port device, wherein the virtual keyboard device has a function interface of the HID keyboard type, and the network port
  • the device includes, but is not limited to, a Network Driver Interface Specification (NDIS) and an Ethernet Networking Control Model (ECM) function interface.
  • NDIS Network Driver Interface Specification
  • ECM Ethernet Networking Control Model
  • the network port can be an NDIS interface under Windows.
  • ECM type interfaces can be used under MAC and Linux systems.
  • the composite device can also generally include a mass storage device (Mass Storage), that is, when the data card is inserted into the master device, the master device displays a combination of several types of devices.
  • the primary device can be a personal computer, workstation, server, laptop, or other mobile device.
  • Step S404 the network port device is initialized.
  • the initialization of the network port device mainly includes the master device requesting the mobile network through the network port device of the data card and obtaining the IP address of the master device in the mobile network.
  • Step S406 generating an instruction to open the data card configuration webpage.
  • the instruction to open the data card configuration webpage is generated according to the characteristics of the main device operating system and the WEB server address of the pre-set data card. For example, if the operating system of the primary device is windows and the WEB server address is http://192.168.0.1, the generated command to open the data card configuration page is "win+r, http://192.168.0.1, Enter".
  • Step S408 instructing the virtual keyboard device to send an instruction to the master device to generate an open data card configuration webpage.
  • the virtual keyboard device is instructed to transmit the instruction generated in step S406 to the master device.
  • virtual keys After receiving the "win+r, http://192.168.0.1, Enter" command, the disk will open the running program of the windows start menu according to win+r, and then enter http://192.168 in the input field of the running program. 0.1, then press Enter.
  • Step S410 the master device opens the data card configuration webpage.
  • the master device opens the data card configuration web page according to the received command. For example, taking the instruction in step S408 as an example, after receiving the running "http://192.168.0.1" command of the running program, windows connects to the WEB server of the data card, opens the configuration webpage address of the data card, and enters the data card. Configure the web page. Users can configure data cards on the data card configuration page, including connecting to the network, disconnecting the network, and so on.
  • Step S412 determining whether there is a new short message or an incoming call arrives.
  • step S414 judges whether there is a new short message or an incoming call, and if so, step S414 is performed, otherwise step S412 is performed.
  • Step S414 generating an instruction to open a new short message or an incoming webpage address.
  • the data card When the data card receives a new text message or incoming call, it generates an instruction to open a new text message or a caller's web address.
  • Step S416 instructing the virtual keyboard device to send an instruction to open the short message or the incoming webpage address to the primary device.
  • the main device opens the SMS or incoming web page address according to the instruction to display a new SMS or incoming call.
  • FIG. 5 is a schematic structural diagram of a data card according to a preferred embodiment of the present invention.
  • the data card includes a composite device 3022, a network port device 3024, a virtual keyboard device 3026, a webpage control module 304, and a WEB server module 306.
  • the composite device 3022, the network port device 3024, and the virtual keyboard device 3026 are equivalent to the enumeration module 302 in FIG.
  • the data card After the data card is connected to the master device, the data card is enumerated as a composite device 3022, and the composite device 3022 A virtual keyboard device 3026 and a network port device 3024 are included.
  • the composite device 3022 is configured to manage the network port device 3024 and the virtual keyboard device 3026.
  • the network port device 3024 is configured to connect the data card to the WEB server module 306 or to the mobile network via the network communication module 308.
  • the network port device 3024 is also arranged to send the web page in the WEB server module 306 to the master device to enable the master device to obtain the data card configuration web page.
  • the virtual keyboard device 3026 is arranged to send an instruction to the master device to open the data card configuration web page to cause the master device to open the data card configuration web page.
  • the virtual keyboard device 3026 sends an instruction to open the short message web address or the incoming web page address to the main device to cause the main device to open the corresponding web page to display a new short message or display an incoming call.
  • the virtual keyboard device 3026 includes a functional interface of the HID keyboard type.
  • the webpage control module 304 is configured to generate an instruction to open the data card configuration webpage according to the WEB server address of the data card, and control the virtual keyboard device to send an instruction to open the data card configuration webpage to the master device to enable the master device to open the data card configuration webpage.
  • the WEB server address is pre-stored in the webpage control module 304.
  • the webpage control module 304 controls the virtual keyboard device 3026 to send an instruction to open the short webpage address or the incoming webpage address to the main device to enable the main device to open the corresponding webpage to display a new short message or display an incoming call.
  • the WEB server module 306 is configured to provide the user with a web page that interacts with the data card, that is, a data card configuration web page, including content generation of the WEB user interface page, user HTTP request analysis, and feedback. Through this page, users can connect to the network, disconnect from the network, send text messages, view text messages, and set up data cards. In addition to this, various business operations can be performed based on the user's request.
  • the network communication module 308 is configured to interact with the mobile network, and forward the user service flow to the air interface protocol stack for processing to complete the user's network request.
  • the present invention achieves the following technical effects: the data card can be used without installing any driver on the main device side of the data card, and thus can be used in the main device.
  • the automatic pop-up data card configuration webpage is provided, which facilitates the user's use and improves the user experience.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the data card connected to the master device is a composite device, wherein the composite device includes a virtual keyboard device, and generates an instruction to open the data card configuration webpage according to the WEB server address of the data card, and then controls the The instruction that the virtual keyboard device sends the open data card configuration webpage to the master device causes the master device to open the data card configuration webpage, thereby facilitating the user to use and improving the user experience.
  • the composite device includes a virtual keyboard device, and generates an instruction to open the data card configuration webpage according to the WEB server address of the data card, and then controls the The instruction that the virtual keyboard device sends the open data card configuration webpage to the master device causes the master device to open the data card configuration webpage, thereby facilitating the user to use and improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种数据卡的启动方法及数据卡,涉及通信领域,该方法包括:枚举连接到主设备的数据卡为复合设备,其中,所述复合设备包括虚拟键盘设备;根据所述数据卡的 WEB服务器地址生成打开数据卡配置网页的指令;控制所述虚拟键盘设备向所述主设备发送所述打开数据卡配置网页的指令使所述主设备打开所述数据卡配置网页。本发明通过将数据卡枚举为虚拟键盘设备以控制主设备打开数据卡配置网页,解决了必须在主设备侧安装软件程序才可以使用数据卡进而打开该数据卡配置网页的问题,具有节省用户时间、方便用户使用、改善用户体验的有益效果。

Description

数据卡的启动方法及数据卡 技术领域
本发明涉及通信领域, 具体而言, 涉及一种数据卡的启动方法及数据 卡。 背景技术
随着第三代移动通讯( 3rd-Generation, 简称为 3G ) 网络技术的日益发 展, 各种 3G终端逐渐受到人们青睐。 作为连接 3G网络与互联网桥梁的数 据卡自然受到消费者的热捧。 为方便用户使用, 免驱动安装逐渐成为一种 有效地提高用户体验的方式。 免驱数据卡可以使用系统自带的驱动, 在该 方式下 PC和数据卡的通信通道只有网卡设备。
免驱数据卡内部含有 WEB服务器模块,数据卡的控制都是以网页形式 实现的。 为方便用户使用, 免驱数据卡都会安装一个 PC侧的小程序, 此程 序会建立一个链接以方便用户打开数据卡的配置页面进而配置数据卡。 该 程序一般在后台运行, 当检测到用户插入数据卡后会弹出一个网页供用户 配置使用。
图 1是相关技术提供的免驱数据卡的启动方法, 如图 1所示, 该方法 包括以下步驟:
步驟 S102 , 数据卡插入并上报光盘设备。
数据卡插入 PC后,枚举出光盘设备和网口设备, 并上报光盘设备数据 卡已插入 PCo
步驟 S104, 判断是否已安装 PC侧软件。
数据卡判断是否已安装 PC侧软件, 如果已安装, 执行步驟 S110, 否 则执行步驟 S106。 步驟 S106, 用户安装 PC侧软件。
用户从光盘设备中安装 PC侧软件。
步驟 S108 , 数据卡切换相应工作模式。
安装 PC侧软件之后, PC侧软件向数据卡下发工作模式切换指令, 将 数据卡从光盘设备切换到网口设备。
步驟 S110, 数据卡重新上报工作端口。
数据卡复位切换到网口设备即工作模式,向 PC上报工作模式的设备描 述符。
采用上述方法,由于必须在 PC侧安装软件程序才能使用数据卡进而打 开数据卡的配置页面, 而为安装 PC侧软件或检测是否已安装 PC侧软件, 数据卡会有两种模式: 一种是光盘模式即数据卡枚举出光盘供用户安装 PC 侧软件或者检测 PC侧是否已安装该软件;第二种是工作模式即数据卡枚举 出网口正常工作。 由此可见, 用户每次拔插数据卡都要从光盘模式切换到 工作模式, 这无疑会增加用户等待时间。
针对相关技术中打开数据卡配置网页需要安装 PC侧软件的问题, 目前 尚未提出有效的解决方案。 发明内容
本发明提供了一种数据卡的启动方法及数据卡, 以至少解决上述问题。 根据本发明的一个方面, 提供了一种数据卡的启动方法, 包括: 枚举 连接到主设备的数据卡为复合设备, 其中, 所述复合设备包括虚拟键盘设 备; 根据所述数据卡的 WEB服务器地址生成打开数据卡配置网页的指令; 控制所述虚拟键盘设备向所述主设备发送所述打开数据卡配置网页的指令 使所述主设备打开所述数据卡配置网页。
优选地, 所述方法包括: 在有新短信或来电时, 控制所述虚拟键盘设 备向所述主设备发送打开短信网页地址或来电网页地址的指令以使主设备 打开对应的网页显示新短信或显示来电。
优选地, 所述虚拟键盘设备包括人机接口设备 HID键盘类型的功能接 口。
优选地, 所述复合设备还包括网口设备以使所述数据卡连接到所述数 据卡的 WEB服务器。
优选地,根据所述数据卡的 WEB服务器地址生成打开数据卡配置网页 的指令包括: 根据所述主设备操作系统的特性和预先设置的所述数据卡的 WEB服务器地址生成打开数据卡配置网页的指令。
根据本发明的另一方面, 提供了一种数据卡, 包括: 枚举模块, 设置 为枚举连接到主设备的数据卡为复合设备, 其中, 所述复合设备包括虚拟 键盘设备; 网页控制模块, 设置为根据所述数据卡的 WEB服务器地址生成 打开数据卡配置网页的指令, 并控制所述虚拟键盘设备向所述主设备发送 所述打开数据卡配置网页的指令使所述主设备打开所述数据卡配置网页。
优选地, 所述网页控制模块设置为在有新短信或来电时, 控制所述虚 拟键盘设备向所述主设备发送打开短信网页地址或来电网页地址的指令以 使主设备打开对应的网页显示新短信或显示来电。
优选地, 所述虚拟键盘设备包括人机接口设备 HID键盘类型的功能接 口。
优选地, 所述复合设备还包括网口设备以使所述数据卡连接到所述数 据卡的 WEB服务器。
优选地, 所述网页控制模块设置为根据所述主设备操作系统的特性和 预先设置的所述数据卡的 WEB服务器地址生成打开数据卡配置网页的指 令。
通过本发明, 首先枚举连接到主设备的数据卡为复合设备, 其中, 所 述复合设备包括虚拟键盘设备,并根据所述数据卡的 WEB服务器地址生成 打开数据卡配置网页的指令, 然后控制所述虚拟键盘设备向所述主设备发 送所述打开数据卡配置网页的指令使所述主设备打开所述数据卡配置网 页, 解决了必须在数据卡的主设备侧安装软件程序才能使用数据卡进而打 开数据卡配置网页的问题, 进而达到了节省用户时间、 方便用户使用、 改 善用户体验的有益效果。 附图说明
此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一 部分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发 明的不当限定。 在附图中:
图 1是相关技术提供的免驱数据卡的启动方法;
图 2是根据本发明实施例的数据卡的启动方法的流程图;
图 3是根据本发明实施例的数据卡的结构示意图;
图 4是根据本发明优选实施例的数据卡的启动方法的流程图; 图 5是根据本发明优选实施例的数据卡的结构示意图。 具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不沖突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。
实施例一
本发明实施例中提供了一种数据卡的启动方法, 图 2是根据本发明实 施例的数据卡的启动方法的流程图, 如图 2所示, 该方法包括:
步驟 S202, 枚举连接到主设备的数据卡为复合设备, 其中, 该复合设 备包括虚拟键盘设备。
步驟 S204, 根据数据卡的 WEB服务器地址生成打开数据卡配置网页 的指令。 步驟 S206, 控制虚拟键盘设备向主设备发送打开数据卡配置网页的指 令使主设备打开数据卡配置网页。
在相关技术中, PC侧要打开数据卡配置网页, 必须在 PC侧安装 PC 侧软件, 因此数据卡插入 PC后, 需要检测是否已安装 PC侧软件。 为了进 行该项检测, 数据卡会有两种模式, 一是光盘模式, 二是工作模式。 数据 卡首先进入到光盘模式, 判断 PC侧是否已安装该软件, 如果没有安装, 则 从光盘中安装该软件, 然后切换到工作模式; 如果已经安装, 则直接切换 到工作模式。 由此可见, 用户每次插拔数据卡时都需要从光盘模式切换到 工作模式, 这样无疑增加了用户等待的时间。 通过上述步驟, 数据卡枚举 出虚拟键盘设备, 通过该虚拟键盘设备向主设备发送打开数据卡配置网页 的指令, 从而无需安装 PC侧软件, 也无需检测是否已安装 PC侧软件, 更 无需在光盘模式和工作模式之间切换, 这样为解决相关技术中的问题提供 了技术实现上的可能。
如果可以通过虚拟键盘设备向主设备发送打开数据卡配置网页的指令 使主设备打开数据卡配置网页, 那么, 在有新短信或来电时, 还可以控制 虚拟键盘设备向主设备发送打开短信网页地址或来电网页地址的指令以使 主设备打开对应的网页显示新短信或显示来电。 在本优选实施例中, 是考 虑到相关技术中在有新短信或来电时,也是通过 PC侧软件才可以在配置页 面显示出新短信或来电, 而采用上述步驟, 不需要安装 PC侧软件, 只需通 过控制虚拟键盘设备向主设备发送命令即可使主设备打开对应的网页显示 新短信或显示来电以提醒用户。 本段中的例子仅仅是一个优选的示例, 并 不限于此。 在另外的实施例中, 还可能通过虚拟键盘向主设备发送其他指 令, 以操作数据卡的配置页面。
如果可以通过虚拟键盘向主设备发送有关数据卡配置网页的指令, 那 么, 该虚拟键盘设备可以包括人机接口设备 ( Human Interface Device, 简称 HID )键盘类型的功能接口。 在本优选实施例中, 是考虑到在 Windows, 苹 果电脑(Macintosh, 简称 MAC )或 Linux等操作系统中对 HID类型的设 备提供了默认的驱动程序, 不需要安装额外的驱动即可正常使用, 因此虚 拟键盘设备可以包括 HID键盘类型的功能接口, 这样在主设备侧看该虚拟 键盘设备就是一个标准的 HID键盘设备。 在其他的实施例中, 该虚拟键盘 设备也可以包括其他 HID类型的设备的功能接口以控制主设备操作数据卡 的配置页面。
如果可以通过虚拟键盘向主设备发送有关数据卡配置网页的指令, 那 么数据卡的复合设备还可以包括网口设备以使该数据卡连接到该数据卡的 WEB服务器。 在本优选实施例中, 是考虑到网口设备是数据卡连接到移动 网络和数据卡 WEB服务器的关键设备, 因此数据卡可以枚举出网口设备。 当然, 在其他实施例中, 数据卡还可以枚举出其他设备, 比如大容量存储 类设备等。 本实施例只是优选实施例, 并不限于此。
如果数据卡可以枚举出虚拟键盘设备, 那么, 可以根据所述主设备操 作系统的特性和预先设置的数据卡的 WEB服务器地址生成打开数据卡配 置网页的指令, 并可以通过虚拟键盘设备向主设备发送该指令。 在本优选 实施例中, 是考虑到不同的操作系统的指令可能不同, 因此可能需要考虑 主设备操作系统的特性, 另外, WEB服务器地址从哪里得到可能也是在生 成指令时需要考虑的。 在其他实施例中, 也可能根据其他特性或数据生成 打开数据卡配置网页的指令, 此处不再赘述。
实施例二
本发明实施例中提供了一种数据卡, 如本申请所使用的, 术语 "子模 块"、 "模块"、 "组件" 或 "单元" 可以指在 Web应用程序的回归测试装置 100上执行的软件对象或例程。 此处所描述的不同组件、 子模块、 模块、 单 元、引擎和服务可被实现为在 Web应用程序的回归测试装置 100上执行(例 如, 作为单独的线程) 的对象或进程。 尽管此处所描述的系统和方法较佳 地以软件来实现, 但是硬件或软件和硬件的组合的实现也是可能并被构想 的。
该数据卡用于实现上述实施例及优选实施方式, 已经进行过说明的不 再赘述。 如以下所使用的, 术语 "模块" 可以实现预定功能的软件和 /或硬 件的组合。 尽管以下实施例所描述的装置较佳地以软件来实现, 但是硬件, 或者软件和硬件的组合的实现也是可能并被构想的。
图 3是根据本发明实施例的数据卡的结构示意图, 如图 3所示, 该数 据卡包括: 枚举模块 302、 网页控制模块 304。 下面对此进行说明。
枚举模块 302 , 设置为枚举连接到主设备的数据卡为复合设备 3022 , 其中, 该复合设备 3022包括虚拟键盘设备 3026。
网页控制模块 304, 设置为根据数据卡的 WEB服务器地址生成打开数 据卡配置网页的指令, 并控制虚拟键盘设备 3026向主设备发送所述打开数 据卡配置网页的指令使主设备打开数据卡配置网页。
优选地, 网页控制模块 304设置为在有新短信或来电时, 控制虚拟键 盘设备 3026向主设备发送打开短信网页地址或来电网页地址的指令以使主 设备打开对应的网页显示新短信或显示来电。
优选地,虚拟键盘设备 3026包括人机接口设备 HID键盘类型的功能接 口。
优选地, 复合设备 3022还包括网口设备 3024 以使所述数据卡连接到 数据卡的 WEB服务器。
优选地, 网页控制模块 304设置为根据主设备操作系统的特性和预先 设置的数据卡的 WEB服务器地址生成打开数据卡配置网页的指令。
在本发明实施例的优选实施方式中, 该数据卡可以通过上述模块或通 过设置新的模块来实现实施例一所述的方法中的数据卡的功能, 具体本发 明实施例不再赘述。
实施例三
图 4是根据本发明优选实施例的数据卡的启动方法的流程图, 如图 4 所示, 该方法包括:
步驟 S402, 数据卡枚举为复合设备。
数据卡插入主设备后, 数据卡侧软件将数据卡枚举为一个复合设备, 该复合设备包括虚拟键盘设备和网口设备, 其中, 该虚拟键盘设备具有一 个 HID键盘类型的功能接口, 网口设备包括但不限于网络驱动接口规范 ( Network Driver Interface Specification, 简称 NDIS )、 以太网控制模型 (Ethernet Networking Control Model, 简称 ECM )功能接口, 具体地说, 网 口在 windows下可以为 NDIS接口, 在 MAC和 Linux系统下可以为 ECM 类型接口。 该复合设备一般还可以包含大容量存储类设备 ( Mass Storage ), 即当数据卡插入主设备后, 主设备会显示几类设备的组合。 主设备可以是 个人电脑、 工作站、 服务器、 笔记本电脑或其他移动设备。
步驟 S404, 网口设备初始化。
网口设备初始化主要包括主设备通过数据卡的网口设备向移动网络请 求并获得主设备在移动网络中的 IP地址。
步驟 S406, 生成打开数据卡配置网页的指令。
根据主设备操作系统的特性和预先设置的数据卡的 WEB服务器地址 生成打开数据卡配置网页的指令。例如,如果主设备的操作系统是 windows, WEB服务器地址是 http://192.168.0.1 ,则生成的打开数据卡配置网页的指令 是 "win+r、 http://192.168.0.1 , Enter"。
步驟 S408, 指示虚拟键盘设备向主设备发送生成打开数据卡配置网页 的指令。
指示虚拟键盘设备向主设备发送步驟 S406生成的指令。 比如, 虚拟键 盘接收到 "win+r、 http://192.168.0.1、 Enter" 指令后, 会根据 win+r打开 windows 的开始菜单的运行程序, 然后在运行程序的输入栏中输入 http://192.168.0.1 , 再回车。
步驟 S410, 主设备打开数据卡配置网页。
主设备根据所接收到的指令打开数据卡配置网页。 比如, 以步驟 S408 中的指令为例, windows接收到其运行程序的运行 "http://192.168.0.1 " 命 令后, 连接到数据卡的 WEB服务器, 打开数据卡的配置网页地址, 进入数 据卡配置网页。 用户可以在数据卡配置网页配置数据卡, 包括连接网络、 断开网络等操作。
步驟 S412 , 判断是否有新短信或来电到达。
数据卡判断是否有新短信或来电, 如果有, 执行步驟 S414, 否则执行 步驟 S412。
步驟 S414, 生成打开新短信或来电网页地址的指令。
在数据卡接收到一条新短信或来电时, 生成打开新短信或来电网页地 址的指令。
步驟 S416, 指示虚拟键盘设备向主设备发送打开短信或来电网页地址 的指令。
步驟 S418 , 主设备打开短信或来电网页地址。
主设备根据指令打开短信或来电网页地址, 以显示新短信或来电。 实施例四
图 5是根据本发明优选实施例的数据卡的结构示意图, 如图 5所示, 该数据卡包括复合设备 3022、 网口设备 3024、 虚拟键盘设备 3026、 网页控 制模块 304、 WEB服务器模块 306、 网络通信模块 308。 其中, 复合设备 3022、 网口设备 3024、 虚拟键盘设备 3026相当于图 3中的枚举模块 302。
数据卡连接到主设备后,数据卡枚举为复合设备 3022 ,该复合设备 3022 包括虚拟键盘设备 3026和网口设备 3024。
复合设备 3022设置为管理网口设备 3024和虚拟键盘设备 3026。
网口设备 3024设置为将数据卡连接到 WEB服务器模块 306或通过网 络通信模块 308连接到移动网络。 网口设备 3024还设置为将 WEB服务器 模块 306中的网页发送给主设备以使主设备能够获取数据卡配置网页。
虚拟键盘设备 3026设置为向主设备发送打开数据卡配置网页的指令使 主设备打开数据卡配置网页。 在有新短信或来电时, 虚拟键盘设备 3026向 主设备发送打开短信网页地址或来电网页地址的指令以使主设备打开对应 的网页显示新短信或显示来电。虚拟键盘设备 3026包括 HID键盘类型的功 能接口。
网页控制模块 304设置为根据数据卡的 WEB服务器地址生成打开数据 卡配置网页的指令, 并控制虚拟键盘设备向主设备发送打开数据卡配置网 页的指令使主设备打开数据卡配置网页。 其中, WEB服务器地址预先存储 在网页控制模块 304中。 在有新短信或来电时, 网页控制模块 304控制虚 拟键盘设备 3026向主设备发送打开短信网页地址或来电网页地址的指令以 使主设备打开对应的网页显示新短信或显示来电。
WEB服务器模块 306设置为为用户提供与数据卡交互的 WEB页面即 数据卡配置网页, 包括 WEB用户界面页面的内容生成、 用户 HTTP请求解 析和反馈。 通过该页面, 用户可以连接网络、 断开网络连接、 发送短信、 查看短信以及对数据卡进行设置等操作。 除此以外, 还可以根据用户的请 求进行各种业务操作。
网络通信模块 308设置为与移动网络交互, 将用户业务流转交空口协 议栈处理, 完成用户的网络请求。
从以上的描述中, 可以看出, 本发明实现了如下技术效果: 不需要在 数据卡的主设备侧安装任何驱动程序即可使用该数据卡, 进而可以在主设 备上自动弹出数据卡配置网页, 从而方便了用户的使用、 改善了用户的体 验。
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步驟 可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执 行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来 执行, 并且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的 步驟, 或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模 块或步驟制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特 定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。
工业实用性
本发明中, 枚举连接到主设备的数据卡为复合设备, 其中, 所述复合 设备包括虚拟键盘设备,并根据所述数据卡的 WEB服务器地址生成打开数 据卡配置网页的指令, 然后控制所述虚拟键盘设备向所述主设备发送所述 打开数据卡配置网页的指令使所述主设备打开所述数据卡配置网页, 从而 方便了用户使用、 改善了用户体验。

Claims

权利要求书
1.一种数据卡的启动方法, 包括:
枚举连接到主设备的数据卡为复合设备, 其中, 所述复合设备包括虚 拟键盘设备;
根据所述数据卡的 WEB服务器地址生成打开数据卡配置网页的指令; 控制所述虚拟键盘设备向所述主设备发送所述打开数据卡配置网页的 指令使所述主设备打开所述数据卡配置网页。
2.根据权利要求 1所述的方法, 其中, 所述方法包括:
在有新短信或来电时, 控制所述虚拟键盘设备向所述主设备发送打开 短信网页地址或来电网页地址的指令以使主设备打开对应的网页显示新短 信或显示来电。
3.根据权利要求 1所述的方法, 其中,
所述虚拟键盘设备包括人机接口设备 HID键盘类型的功能接口。
4.根据权利要求 1至 3任一项所述的方法, 其中, 所述复合设备还包 括网口设备以使所述数据卡连接到所述数据卡的 WEB服务器。
5.根据权利要求 4所述的方法, 其中,根据所述数据卡的 WEB服务器 地址生成打开数据卡配置网页的指令包括:
根据所述主设备操作系统的特性和预先设置的所述数据卡的 WEB服 务器地址生成打开数据卡配置网页的指令。
6.—种数据卡, 包括:
枚举模块, 设置为枚举连接到主设备的数据卡为复合设备, 其中, 所 述复合设备包括虚拟键盘设备;
网页控制模块,设置为根据所述数据卡的 WEB服务器地址生成打开数 据卡配置网页的指令, 并控制所述虚拟键盘设备向所述主设备发送所述打 开数据卡配置网页的指令使所述主设备打开所述数据卡配置网页。
7.根据权利要求 6所述的数据卡, 其中, 所述网页控制模块设置为在 有新短信或来电时, 控制所述虚拟键盘设备向所述主设备发送打开短信网 页地址或来电网页地址的指令以使主设备打开对应的网页显示新短信或显 示来电。
8.根据权利要求 6所述的数据卡, 其中, 所述虚拟键盘设备包括人机 接口设备 HID键盘类型的功能接口。
9.根据权利要求 6至 8任一项所述的数据卡, 其中, 所述复合设备还 包括网口设备以使所述数据卡连接到所述数据卡的 WEB服务器。
10.根据权利要求 9所述的数据卡, 其中, 所述网页控制模块设置为根 据所述主设备操作系统的特性和预先设置的所述数据卡的 WEB服务器地 址生成打开数据卡配置网页的指令。
PCT/CN2013/076288 2012-06-25 2013-05-27 数据卡的启动方法及数据卡 WO2014000544A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210210408.2 2012-06-25
CN201210210408.2A CN103516743A (zh) 2012-06-25 2012-06-25 数据卡的启动方法及数据卡

Publications (1)

Publication Number Publication Date
WO2014000544A1 true WO2014000544A1 (zh) 2014-01-03

Family

ID=49782203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/076288 WO2014000544A1 (zh) 2012-06-25 2013-05-27 数据卡的启动方法及数据卡

Country Status (2)

Country Link
CN (1) CN103516743A (zh)
WO (1) WO2014000544A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6134608A (en) * 1996-12-20 2000-10-17 International Business Machines Corporation Apparatus for providing multiple network services using a single serial communications port
CN101075178A (zh) * 2007-06-25 2007-11-21 中兴通讯股份有限公司 Td_scdma无线数据卡的自启动方法
CN101387992A (zh) * 2008-10-27 2009-03-18 深圳华为通信技术有限公司 数据卡的启动方法及设备
CN101950252A (zh) * 2009-07-10 2011-01-19 中兴通讯股份有限公司 一种usb数据卡自启动方法和系统

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 中兴通讯股份有限公司 免安装数据卡驱动的实现方法、操作方法及系统
CN101765237B (zh) * 2009-12-31 2013-02-27 中兴通讯股份有限公司 智能数据卡及智能数据卡的实现方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6134608A (en) * 1996-12-20 2000-10-17 International Business Machines Corporation Apparatus for providing multiple network services using a single serial communications port
CN101075178A (zh) * 2007-06-25 2007-11-21 中兴通讯股份有限公司 Td_scdma无线数据卡的自启动方法
CN101387992A (zh) * 2008-10-27 2009-03-18 深圳华为通信技术有限公司 数据卡的启动方法及设备
CN101950252A (zh) * 2009-07-10 2011-01-19 中兴通讯股份有限公司 一种usb数据卡自启动方法和系统

Also Published As

Publication number Publication date
CN103516743A (zh) 2014-01-15

Similar Documents

Publication Publication Date Title
CN105759937B (zh) 降低终端功耗的方法及终端
EP2779546A1 (en) Port setting method, routing device, and computer program product
WO2017162089A1 (zh) 网络服务的业务配置方法和装置
CN102368231B (zh) 一种usb设备重定向的方法及系统
EP2439647B1 (en) Implement method, operation method, and system without installing data card driver
CN108476060A (zh) 用于双模蓝牙设备之间建立经典蓝牙连接的方法和双模蓝牙设备
US20150269103A1 (en) Method And Apparatus For Virtualizing Hardware Dongle Over A Wireless Connection
CN107396183B (zh) 融合终端设备的开机网络检测方法及系统
TW200815987A (en) Device connection system and device connection method
KR20140123076A (ko) 디바이스 제어 방법 및 장치
CN108206842B (zh) 云桌面远程接入方法和系统
WO2013071709A1 (zh) 支持以3G及Wi-Fi方式接入网络的无线宽带数据卡
CN104221465A (zh) 用于管理呼叫的方法和使用该方法的移动终端
WO2010148914A1 (zh) 一种拨号服务创建的方法和装置
JP2014527659A (ja) データカードの起動方法及びデータカード
EP3249899B1 (en) Call forwarding method and terminal
WO2011107053A2 (zh) 数据接口配置方法及终端设备
WO2014173268A1 (zh) 基于mbim接口实现通信方法及其设备
WO2012100504A1 (zh) 一种无线通讯方法、系统及无线通讯终端
WO2011107022A1 (zh) 数据卡及拨号上网方法
KR101511456B1 (ko) 입력 도구의 호출 시스템, 방법 및 프록시 장치
US20070155422A1 (en) Method for controlling mobile data connection through USB Ethernet management of mobile station
EP3979071B1 (en) Method, user equipment, and application server for downloading application
US20160295301A1 (en) Communication protocol control method and device in smart tv apparatus
WO2024061308A1 (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: 13810655

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: 13810655

Country of ref document: EP

Kind code of ref document: A1