WO2013189452A2 - Wireless access terminal driving method and apparatus, and terminal - Google Patents

Wireless access terminal driving method and apparatus, and terminal Download PDF

Info

Publication number
WO2013189452A2
WO2013189452A2 PCT/CN2013/082562 CN2013082562W WO2013189452A2 WO 2013189452 A2 WO2013189452 A2 WO 2013189452A2 CN 2013082562 W CN2013082562 W CN 2013082562W WO 2013189452 A2 WO2013189452 A2 WO 2013189452A2
Authority
WO
WIPO (PCT)
Prior art keywords
wireless
terminal
serial port
access terminal
wireless access
Prior art date
Application number
PCT/CN2013/082562
Other languages
French (fr)
Chinese (zh)
Other versions
WO2013189452A3 (en
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 WO2013189452A2 publication Critical patent/WO2013189452A2/en
Publication of WO2013189452A3 publication Critical patent/WO2013189452A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass

Definitions

  • the present invention relates to communications technologies, and in particular, to a wireless access terminal driving method, apparatus, and terminal. Background technique
  • LTE Long Term Evolution
  • 4G 4th Generation
  • the wireless internet terminal and the wireless routing terminal are currently widely used wireless access devices, and are mainly applied to user terminals such as notebook computers, personal digital assistants (PDAs), and desktop computers, and implement user terminals in different ways. Data interaction on the network side.
  • user terminals such as notebook computers, personal digital assistants (PDAs), and desktop computers, and implement user terminals in different ways. Data interaction on the network side.
  • PDAs personal digital assistants
  • a user terminal performs data interaction with a network side through a wireless routing terminal
  • an application that relies on serial communication in the user terminal, such as a global positioning navigation system (GPS) such as Google Map (APP, Application ), unable to interact with the network side.
  • GPS global positioning navigation system
  • Google Map Google Map
  • the wireless routing terminal does not support applications that rely on serial communication in the user terminal, and has become an urgent problem to be solved. Summary of the invention
  • the main purpose of the embodiments of the present invention is to provide a wireless access terminal driver.
  • the method, the device and the terminal solve the problem that the wireless routing terminal does not support an application that relies on serial communication in the user terminal.
  • An embodiment of the present invention provides a method for driving a wireless data access terminal, where a user terminal that accesses the network by using the wireless access terminal is provided with a wireless network card associated with the wireless access terminal; the method includes:
  • the user terminal creates a virtual serial port corresponding to the wireless access terminal, and pre-installs a virtual serial port driver supporting the virtual serial port, so that the virtual serial port is connected to the wireless communication port of the wireless network card;
  • the user terminal uses the virtual serial port to perform data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card.
  • the method further includes:
  • the user terminal detects the type of the wireless access terminal connected to the user terminal, and determines that the type of the wireless access terminal is a wireless routing terminal, or a composite terminal of a wireless routing terminal and a wireless network terminal.
  • the method before the creating a virtual serial port corresponding to the wireless access terminal on the user terminal, the method further includes:
  • the user terminal detects a type of the wireless access terminal connected to the user terminal, and pre-installs a serial port driver corresponding to the wireless access terminal when determining that the type of the wireless access terminal is a wireless internet terminal.
  • the user terminal detects a type of the wireless access terminal connected to the user terminal, including:
  • SCSI small computer system interface
  • USB Universal Serial Bus
  • the user terminal uses the virtual serial port to perform data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card, including:
  • the user terminal uses the virtual serial port to receive wireless communication data sent by the wireless network card through the wireless communication port, and sends the wireless communication data to an application in the user terminal that relies on serial communication;
  • the virtual serial port receives data from an application in the user terminal that relies on serial communication, and transmits the data to a wireless communication port of the wireless network card.
  • a wireless access terminal driving device comprising: a pre-installed driving unit and a virtual serial port driving unit;
  • the pre-installed driving unit is configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver supporting the virtual serial port;
  • the virtual serial port driving unit is configured to perform wireless communication data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card by using the virtual serial port.
  • the device further includes:
  • a detecting unit configured to detect a type of the wireless access terminal connected to the user terminal, and when determining that the type of the wireless access terminal is a wireless routing terminal, or a composite terminal of a wireless routing terminal and a wireless internet terminal , triggering the pre-installed drive unit.
  • the detecting unit is further configured to detect a type of the wireless access terminal connected to the user terminal, and trigger the pre-installed driving unit when determining that the type of the wireless access terminal is a wireless internet terminal ;
  • the pre-installed driving unit is configured to pre-install a serial port driver corresponding to the wireless access terminal.
  • the detecting unit is further configured to send a preset SCSI handshake message to the virtual optical disc drive mapped by the wireless access terminal on the user terminal, and/or to the wireless access terminal in the user
  • the mass storage device mapped by the terminal sends a preset USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
  • the virtual serial port driving unit is further configured to receive, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and send the wireless communication data to the user terminal.
  • An application that relies on serial communication receives data from an application that relies on serial communication in the user terminal by using the virtual serial port, and sends the data to a wireless communication port of the wireless network card.
  • the embodiment of the present invention further provides a user terminal, where the user terminal is provided with a wireless network card associated with the wireless access terminal, and the user terminal further includes the wireless access terminal driving device described above.
  • a virtual serial port corresponding to the wireless access terminal is created on the user terminal, and a virtual serial port driver supporting the virtual serial port is pre-installed, and the serial communication application in the user terminal needs to perform data with the network side.
  • the virtual serial port and the wireless communication port are used for wireless communication data interaction.
  • the wireless communication port is a port of the wireless network card associated with the wireless access terminal in the user terminal, and can support an application that relies on serial communication in the user terminal.
  • FIG. 1 is a schematic flowchart of a method for driving a wireless access terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a wireless access terminal driving device according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a GPS APP receiving according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an implementation process of driving a wireless access terminal according to an embodiment of the present invention.
  • the basic idea of the embodiment of the present invention is to detect the type of the wireless access terminal connected to the user.
  • the wireless terminal is created on the user terminal.
  • the virtual serial port corresponding to the terminal supports the application that relies on serial communication in the user terminal through the virtual serial port.
  • the embodiment of the present invention describes a method for driving a wireless data access terminal.
  • the user terminal that accesses the network by using the wireless access terminal is provided with a wireless network card associated with the wireless access terminal.
  • FIG. 1 is an embodiment of the present invention.
  • the schematic diagram of the implementation process of the wireless access terminal driving method, as shown in FIG. 1, includes the following steps:
  • Step 101 The user terminal creates a virtual serial port corresponding to the wireless access terminal, and pre-installs a virtual serial port driver that supports the virtual serial port, so that the virtual serial port is connected to the wireless communication port of the wireless network card.
  • the wireless access terminal includes the following types: a wireless internet terminal, a wireless routing terminal, and a composite terminal of a wireless internet terminal and a wireless routing terminal (hereinafter referred to as a composite terminal).
  • the composite terminal can be used as a wireless internet terminal or as a wireless routing terminal.
  • the wireless internet terminal When the wireless internet terminal is connected to the user terminal, the corresponding serial port is mapped on the user terminal, and the serial port can support an application that relies on serial communication in the user terminal. Therefore, before step 101, the connection needs to be determined.
  • the type of the wireless access terminal to the user terminal can be implemented in the following manner:
  • the user terminal detects a type of the wireless access terminal connected to the user terminal, and when the type of the wireless access terminal is a wireless internet terminal, pre-installing a serial port driver corresponding to the wireless access terminal, so that Support applications that rely on serial communication in user terminals;
  • the user terminal detects a type of a wireless access terminal connected to the user terminal, and When the type of the wireless access terminal is a wireless routing terminal, or is a composite terminal, performing steps
  • the user terminal may determine the type of the wireless access terminal connected to the user terminal by: the user terminal to the wireless access terminal at the user terminal
  • the mapped virtual optical disc drive sends a preset SCSI handshake message, and/or sends a preset USB handshake message to the mass storage device mapped by the wireless access terminal on the user terminal, according to the virtual optical disc drive and/or Or a handshake response message returned by the mass storage device to determine a type of the wireless access terminal.
  • Step 102 The user terminal uses the virtual serial port to perform data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card.
  • the user terminal receives, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and sends the wireless communication data to the user.
  • An application that relies on serial communication in the terminal receiving, by the virtual serial port, data from an application that relies on serial communication in the user terminal, and transmitting the data to a wireless communication port of the wireless network card; wherein, the user terminal
  • the pre-installed virtual serial port driver is also loaded before the wireless communication data interaction between the application relying on the serial port communication and the wireless communication port of the wireless network card is performed.
  • FIG. 2 is a schematic structural diagram of a wireless access terminal driving apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a pre-installed driving unit 21 and a virtual Serial port drive unit 22; wherein
  • the pre-installed driving unit 21 is configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver supporting the virtual serial port, and the wireless serial port associated with the wireless serial terminal is connected to the wireless serial port.
  • the virtual serial port driving unit 22 is configured to perform data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card by using the virtual serial port.
  • the device further includes: a detecting unit 23 configured to detect a type of the wireless access terminal connected to the user terminal, and determine that the type of the wireless access terminal is a wireless routing terminal, or is a wireless routing terminal and wireless When the composite terminal of the internet terminal is used, the pre-installed drive unit 21 is triggered.
  • the detecting unit 23 is further configured to detect a type of the wireless access terminal connected to the user terminal, and trigger the pre-installed driving unit when determining that the type of the wireless access terminal is a wireless internet terminal twenty one ;
  • the pre-installed driving unit 21 is further configured to pre-install a serial port driver corresponding to the wireless access terminal.
  • the detecting unit 23 is further configured to send a preset SCSI handshake message to the virtual optical disc drive mapped by the wireless access terminal on the user terminal, and/or to the wireless access terminal in the user
  • the mass storage device mapped by the terminal sends a preset USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
  • the virtual serial port driving unit 22 is further configured to receive, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and send the wireless communication data to the user terminal.
  • the pre-installed driving unit 21, the virtual serial port driving unit 22, and the detecting unit 23 can be driven by a central processing unit (CPU) and a digital signal processor (DSP) in the wireless access terminal driving device.
  • CPU central processing unit
  • DSP digital signal processor
  • Digital Signal Processor or Field Programmable Gate Array (FPGA).
  • the wireless communication data from the wireless routing terminal is received by the GPS APP that relies on serial communication in the user terminal as an example, and the virtual string in the wireless access terminal driving device of the embodiment of the present invention is used.
  • Port drive unit 22 is described in further detail.
  • the processing procedure of the GPS APP receiving the wireless communication data from the wireless routing terminal is: when the GPS APP opens the virtual serial port corresponding to the wireless routing terminal, the virtual serial port driving unit 22 registers the window socket (Winsock, Windows Socket) kernel application, and Sending a GPS function related network data packet request to the wireless routing terminal to the wireless network card associated with the user terminal to request whether the GPS function is enabled, the GPS application port number, and the like, when the virtual serial port driving unit 22 receives the above information returned by the wireless network card
  • the socket is connected with the GPS function port on the wireless routing terminal by using the GPS application port number; the virtual serial port driving unit 22 monitors the data of the GPS function port of the wireless routing terminal and returns the data to the GPS APP.
  • FIG. 3 is a schematic flowchart of an implementation process of a GPS APP receiving wireless communication data from a wireless routing terminal according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step 301 The GPS APP opens the virtual serial port.
  • Step 302 The virtual serial port driving unit 22 provides a callback function call to the GPS APP.
  • This callback function is the IRP_MJ_CREATE function.
  • Step 303 The virtual serial port drive unit 22 utilizes a callback function through the window socket kernel.
  • Step 304 The virtual serial port driving unit 22 sends a request message to the wireless routing terminal to associate the wireless terminal with the Hyper Text Transfer Protocol (HTTP) through a Transmission Control Protocol (TCP). Network card.
  • HTTP Hyper Text Transfer Protocol
  • TCP Transmission Control Protocol
  • the request message is configured to request information such as whether the GPS is enabled, the GPS application port number, and the like.
  • Step 305 The virtual serial port drive unit 22 receives the return message through the TCP port 80.
  • Step 306 Determine whether the GPS information is successfully obtained.
  • step 312 is directly executed, and the GPS information acquisition failure information is notified to the GPS APP. If the GPS information returns successfully in step 305, step 307 is performed.
  • Step 307 Determine whether the GPS is turned on. If the GPS is turned on, go to step 310; otherwise, go to step 308.
  • Step 308 Turn on the GPS.
  • Step 309 Determine whether the GPS is successfully turned on. If the GPS is successfully turned on, go to step 310; otherwise, go to step 312 and notify the GPS APP of the GPS start failure message.
  • Step 310 The virtual serial port driving unit 22 establishes a Socket connection with the GPS function port of the wireless routing terminal by using the GPS port number.
  • Step 311 The virtual serial port driving unit 22 listens for wireless communication data through the GPS port.
  • Step 312 The virtual serial port driving unit 22 allocates memory, fills the intercepted wireless communication data to an IRP (Input/Output Request Packet) request, and returns the request to the GPS port.
  • IRP Input/Output Request Packet
  • Step 313 The GPS APP closes the virtual serial port, and the virtual serial port drive unit 22 turns off the WSK.
  • the embodiment of the present invention further describes a user terminal, where the user terminal is provided with a wireless network card associated with the wireless access terminal, and the user terminal includes:
  • a wireless access terminal driving device configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver supporting the virtual serial port, so that the virtual serial port is connected to the wireless communication port of the wireless network card;
  • the virtual serial port performs wireless communication data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card.
  • the wireless access terminal driving device is further configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver supporting the virtual serial port, so that the virtual serial port is associated with the wireless access terminal
  • the wireless communication port of the wireless network card is connected; and the virtual serial port is used to perform data interaction between the application in the user terminal that relies on serial communication and the wireless communication port of the wireless network card.
  • the wireless access terminal is further configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver that supports the virtual serial port, so that the virtual serial port is associated with the wireless access terminal. Before the wireless communication port of the network card is connected, detecting the type of the wireless access terminal connected to the user terminal, and determining that the type of the wireless access terminal is a wireless routing terminal, or a composite type of the wireless routing terminal and the wireless internet terminal terminal.
  • the wireless access terminal is further configured to detect a type of the wireless access terminal connected to the user terminal, and pre-install and the wireless connection when determining that the type of the wireless access terminal is a wireless internet terminal Enter the serial port driver corresponding to the terminal.
  • the wireless access terminal is further configured to send a preset SCSI handshake message to the virtual optical disc drive mapped by the wireless access terminal on the user terminal, and/or to the wireless access terminal at the user
  • the mass storage device mapped by the terminal sends a preset USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
  • the wireless access terminal is further configured to receive, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and send the wireless communication data to a serial port in the user terminal.
  • An application of communication receiving, by the virtual serial port, wireless communication data from an application of the user terminal that relies on serial communication, and transmitting the wireless communication data to a wireless communication port of the wireless network card.
  • FIG. 2 The schematic diagram of the structure of the wireless access terminal driving device is as shown in FIG. 2, which includes:
  • the pre-installation driving unit 21 is configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver that supports the virtual serial port, so that the virtual serial port is wireless with the wireless network card associated with the wireless access terminal. Communication port connection;
  • the virtual serial port driving unit 22 is configured to use the virtual serial port to perform wireless communication data communication between the application that relies on serial communication in the user terminal and the wireless communication port of the wireless network card. Mutual.
  • the device further includes: a detecting unit 23 configured to detect a type of the wireless access terminal connected to the user terminal, and determine that the type of the wireless access terminal is a wireless routing terminal, or is a wireless routing terminal and wireless When the composite terminal of the internet terminal is used, the pre-installed drive unit 21 is triggered.
  • a detecting unit 23 configured to detect a type of the wireless access terminal connected to the user terminal, and determine that the type of the wireless access terminal is a wireless routing terminal, or is a wireless routing terminal and wireless
  • the pre-installed drive unit 21 is triggered.
  • the detecting unit 23 is further configured to detect a type of the wireless access terminal connected to the user terminal, and trigger the pre-installed driving unit when determining that the type of the wireless access terminal is a wireless internet terminal twenty one;
  • the pre-installation driving unit 21 is configured to pre-install a serial port driver corresponding to the wireless access terminal.
  • the detecting unit 23 is further configured to send a preset SCSI handshake message to the virtual optical disc drive mapped by the wireless access terminal on the user terminal, and/or to the wireless access terminal in the user
  • the mass storage device mapped by the terminal sends a preset USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
  • the virtual serial port driving unit 22 is further configured to receive, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and send the wireless communication data to the user terminal.
  • An application that relies on serial communication receives wireless communication data from an application that relies on serial communication in the user terminal by using the virtual serial port, and transmits the wireless communication data to a wireless communication port of the wireless network card.
  • the pre-installed driving unit 21, the virtual serial port driving unit 22, and the detecting unit 23 can be implemented by a CPU, DSP or FPGA in the wireless access terminal driving device.
  • FIG. 4 is a schematic flowchart of the implementation of driving the wireless access terminal according to the embodiment of the present invention. Includes the following steps: Step 401: The wireless access terminal is connected to the user terminal.
  • Step 402 The wireless access terminal driving device is called by the user terminal.
  • Step 403 The wireless access terminal driving device sends a handshake message.
  • the virtual optical disc drive mapped on the user terminal sends a preset SCSI handshake message, and/or maps to the wireless access terminal at the user terminal.
  • the mass storage device sends a preset universal serial bus USB handshake message.
  • Step 404 The wireless access terminal driving device receives the handshake reply message.
  • Step 405 The wireless access terminal driving device determines whether the wireless access terminal type is a wireless uplink terminal, and if yes, step 406 is performed; otherwise, step 409 is performed.
  • the wireless access terminal driving device parses the wireless access terminal type information carried in the handshake reply message, and determines the type of the wireless access terminal.
  • Step 406 The wireless access terminal driver pre-installs the serial port driver.
  • the serial port driver corresponds to a serial port mapped on the user terminal when the wireless internet terminal is connected to the user terminal.
  • Step 407 The wireless access terminal driver loads the pre-installed serial port driver.
  • Step 408 The GPS APP in the user terminal performs data interaction with the wireless access terminal through the serial port.
  • Step 406 ⁇ Step 408 is processing when the corresponding wireless access terminal is the Internet access terminal, so that the wireless Internet terminal supports the GPS APP supporting the serial communication in the user terminal.
  • Step 409 The wireless access terminal driver creates a virtual serial port.
  • the virtual serial port corresponds to a wireless access terminal.
  • Step 410 The wireless access terminal driving device determines whether the wireless access terminal is a composite terminal. If yes, step 411 is performed; otherwise, step 412 is performed.
  • Step 411 The wireless access terminal driver pre-installs the serial port driver.
  • the serial port supported by the serial port driver is a serial port mapped on the user terminal when the composite terminal is used as a wireless internet terminal when accessing the user terminal.
  • Step 412 The wireless access terminal driver pre-installs the virtual serial port driver.
  • the virtual serial port driver supports the virtual serial port created in step 409.
  • Step 413 The wireless access terminal driver loads the pre-installed virtual serial port driver.
  • Step 414 The GPS APP performs wireless communication data interaction with the wireless access terminal through the virtual serial port;
  • Step 413 and step 414 correspond to processing when the wireless access terminal is a wireless routing terminal, so that the wireless access terminal supports the GPS APP in the user terminal that relies on serial communication.
  • Step 415 The wireless access terminal driver loads the pre-installed serial port driver.
  • the serial port driver is a serial port driver pre-installed in step 411.
  • Step 416 The GPS APP performs wireless communication data interaction with the wireless access terminal through the serial port.
  • Step 415 and step 416 correspond to processing when the composite terminal is used as the wireless internet terminal, so that the wireless access terminal supports the GPS APP that relies on serial communication in the user terminal.

Landscapes

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

Abstract

Disclosed are a wireless access terminal driving method and apparatus, and a terminal. The method includes: a user terminal creating a virtual serial port corresponding to a wireless access terminal, and pre-mounting a virtual serial port driver which supports the virtual serial port, so as to connect the virtual serial port to a wireless communication port of the wireless network card; and the user terminal using the virtual serial port to perform wireless communication data interaction between an application dependent on serial port communication in the user terminal and the wireless communication port of the wireless network card. The embodiments of the present invention solve the problem that a wireless routing terminal does not support an application dependent on serial port communication in a user terminal.

Description

无线接入终端驱动方法、 装置及终端 技术领域  Wireless access terminal driving method, device and terminal
本发明涉及通信技术, 尤其涉及一种无线接入终端驱动方法、 装置及 终端。 背景技术  The present invention relates to communications technologies, and in particular, to a wireless access terminal driving method, apparatus, and terminal. Background technique
随着长期演进( LTE, Long Term Evolution )无线通信标准的推出和使 用, 个人无线数据通信业务得到了快速的发展, 无线通信技术在人们生活 中已经变得越来越重要。 据统计, 2013年全球第四代( 4G, 4th Generation ) 移动通信的用户数量将近 2亿, 无线通信技术的应用已深入到人们生活和 工作的方方面面。  With the introduction and use of long-term evolution (LTE, Long Term Evolution) wireless communication standards, personal wireless data communication services have been rapidly developed, and wireless communication technologies have become more and more important in people's lives. According to statistics, in 2013, the number of users of the fourth generation (4G, 4th Generation) mobile communication in the world was nearly 200 million. The application of wireless communication technology has penetrated into every aspect of people's lives and work.
无线上网终端和无线路由终端是目前应用非常广泛的无线接入设备, 主要应用在笔记本电脑、 个人数字助理(PDA, Personal Digital Assistant ) 以及台式机等用户终端上, 通过不同的方式实现用户终端和网络侧的数据 交互。  The wireless internet terminal and the wireless routing terminal are currently widely used wireless access devices, and are mainly applied to user terminals such as notebook computers, personal digital assistants (PDAs), and desktop computers, and implement user terminals in different ways. Data interaction on the network side.
目前, 用户终端通过无线路由终端与网络侧进行数据交互时, 用户终 端中依赖串口通信的应用例如谷歌地图 (Google Map )等全球卫星定位导 航系统(GPS, Global Positioning System )等的应用 (APP, Application ), 无法与网络侧进行数据交互。  At present, when a user terminal performs data interaction with a network side through a wireless routing terminal, an application that relies on serial communication in the user terminal, such as a global positioning navigation system (GPS) such as Google Map (APP, Application ), unable to interact with the network side.
因此, 无线路由终端不支持用户终端中依赖串口通信的应用, 成为亟 待解决的问题。 发明内容  Therefore, the wireless routing terminal does not support applications that rely on serial communication in the user terminal, and has become an urgent problem to be solved. Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种无线接入终端驱动 方法、 装置及终端, 解决无线路由终端不支持用户终端中依赖串口通信的 应用的问题。 In view of this, the main purpose of the embodiments of the present invention is to provide a wireless access terminal driver. The method, the device and the terminal solve the problem that the wireless routing terminal does not support an application that relies on serial communication in the user terminal.
为达到上述目的, 本发明实施例的技术方案是这样实现的:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种无线数据接入终端驱动方法, 利用所述无线 接入终端接入网络的用户终端设置有与所述无线接入终端关联的无线网 卡; 所述方法包括:  An embodiment of the present invention provides a method for driving a wireless data access terminal, where a user terminal that accesses the network by using the wireless access terminal is provided with a wireless network card associated with the wireless access terminal; the method includes:
所述用户终端创建与所述无线接入终端对应的虚拟串口, 并预安装支 持所述虚拟串口的虚拟串口驱动, 使所述虚拟串口与所述无线网卡的无线 通信端口连接;  The user terminal creates a virtual serial port corresponding to the wireless access terminal, and pre-installs a virtual serial port driver supporting the virtual serial port, so that the virtual serial port is connected to the wireless communication port of the wireless network card;
所述用户终端利用所述虚拟串口, 进行所述用户终端中依赖串口通信 的应用与所述无线网卡的无线通信端口之间的数据交互。  The user terminal uses the virtual serial port to perform data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card.
优选地, 所述用户终端创建与所述无线接入终端对应的虚拟串口之前, 所述方法还包括:  Preferably, before the user terminal creates a virtual serial port corresponding to the wireless access terminal, the method further includes:
所述用户终端检测连接到所述用户终端的无线接入终端的类型, 且确 定所述无线接入终端的类型为无线路由终端, 或为无线路由终端和无线上 网终端的复合型终端。  The user terminal detects the type of the wireless access terminal connected to the user terminal, and determines that the type of the wireless access terminal is a wireless routing terminal, or a composite terminal of a wireless routing terminal and a wireless network terminal.
优选地, 所述在用户终端上创建与所述无线接入终端对应的虚拟串口 之前, 所述方法还包括:  Preferably, before the creating a virtual serial port corresponding to the wireless access terminal on the user terminal, the method further includes:
所述用户终端检测连接到所述用户终端的无线接入终端的类型, 并在 确定所述无线接入终端的类型为无线上网终端时, 预安装与所述无线接入 终端对应的串口驱动。  The user terminal detects a type of the wireless access terminal connected to the user terminal, and pre-installs a serial port driver corresponding to the wireless access terminal when determining that the type of the wireless access terminal is a wireless internet terminal.
优选地, 所述用户终端检测连接到所述用户终端的无线接入终端的类 型, 包括:  Preferably, the user terminal detects a type of the wireless access terminal connected to the user terminal, including:
向所述无线接入终端在所述用户终端映射出的虚拟光盘驱动器发送预 设小型计算机系统接口( SCSI , Small Computer System Interface )握手消息, 和 /或向所述无线接入终端在所述用户终端映射出的大容量存储设备发送预 设通用串行总线(USB , Universal Serial Bus )握手消息, 根据所述虚拟光 盘驱动器和 /或所述大容量存储设备返回的握手响应消息, 确定所述无线接 入终端的类型。 Sending, by the wireless access terminal, a preset small computer system interface (SCSI) message to the virtual optical disk drive mapped by the user terminal, And/or transmitting a preset Universal Serial Bus (USB) handshake message to the mass storage device mapped by the wireless access terminal on the user terminal, according to the virtual optical disk drive and/or the The handshake response message returned by the mass storage device determines the type of the wireless access terminal.
优选地, 所述用户终端利用所述虚拟串口, 进行用户终端中依赖串口 通信的应用与所述无线网卡的无线通信端口之间的数据交互, 包括:  Preferably, the user terminal uses the virtual serial port to perform data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card, including:
所述用户终端利用所述虚拟串口接收由所述无线网卡通过所述无线通 信端口发送的无线通信数据, 并将所述无线通信数据发送至所述用户终端 中依赖串口通信的应用; 利用所述虚拟串口接收来自所述用户终端中依赖 串口通信的应用的数据, 并将所述数据发送至所述无线网卡的无线通信端 口。  The user terminal uses the virtual serial port to receive wireless communication data sent by the wireless network card through the wireless communication port, and sends the wireless communication data to an application in the user terminal that relies on serial communication; The virtual serial port receives data from an application in the user terminal that relies on serial communication, and transmits the data to a wireless communication port of the wireless network card.
一种无线接入终端驱动装置, 所述装置包括: 预安装驱动单元和虚拟 串口驱动单元; 其中,  A wireless access terminal driving device, the device comprising: a pre-installed driving unit and a virtual serial port driving unit; wherein
所述预安装驱动单元, 配置为创建与无线接入终端对应的虚拟串口, 并预安装支持所述虚拟串口的虚拟串口驱动;  The pre-installed driving unit is configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver supporting the virtual serial port;
所述虚拟串口驱动单元, 配置为利用所述虚拟串口, 进行用户终端中 依赖串口通信的应用与所述无线网卡的无线通信端口之间的无线通信数据 交互。  The virtual serial port driving unit is configured to perform wireless communication data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card by using the virtual serial port.
优选地, 所述装置还包括:  Preferably, the device further includes:
检测单元, 配置为检测连接到所述用户终端的无线接入终端的类型, 并在确定所述无线接入终端的类型为无线路由终端, 或为无线路由终端和 无线上网终端的复合型终端时, 触发所述预安装驱动单元。  a detecting unit, configured to detect a type of the wireless access terminal connected to the user terminal, and when determining that the type of the wireless access terminal is a wireless routing terminal, or a composite terminal of a wireless routing terminal and a wireless internet terminal , triggering the pre-installed drive unit.
优选地, 所述检测单元, 还配置为检测连接到所述用户终端的无线接 入终端的类型, 并在确定所述无线接入终端的类型为无线上网终端时, 触 发所述预安装驱动单元; 所述预安装驱动单元, 配置为预安装与所述无线接入终端对应的串口 驱动。 Preferably, the detecting unit is further configured to detect a type of the wireless access terminal connected to the user terminal, and trigger the pre-installed driving unit when determining that the type of the wireless access terminal is a wireless internet terminal ; The pre-installed driving unit is configured to pre-install a serial port driver corresponding to the wireless access terminal.
优选地, 所述检测单元, 还配置为向所述无线接入终端在所述用户终 端映射出的虚拟光盘驱动器发送预设 SCSI握手消息,和 /或向所述无线接入 终端在所述用户终端映射出的大容量存储设备发送预设 USB握手消息, 根 据所述虚拟光盘驱动器和 /或所述大容量存储设备返回的握手响应消息, 确 定所述无线接入终端的类型。  Preferably, the detecting unit is further configured to send a preset SCSI handshake message to the virtual optical disc drive mapped by the wireless access terminal on the user terminal, and/or to the wireless access terminal in the user The mass storage device mapped by the terminal sends a preset USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
优选地, 所述虚拟串口驱动单元, 还配置为利用所述虚拟串口接收由 所述无线网卡通过所述无线通信端口发送的无线通信数据, 并将所述无线 通信数据发送至所述用户终端中依赖串口通信的应用; 利用所述虚拟串口 接收来自所述用户终端中依赖串口通信的应用的数据, 并将所述数据发送 至所述无线网卡的无线通信端口。  Preferably, the virtual serial port driving unit is further configured to receive, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and send the wireless communication data to the user terminal. An application that relies on serial communication; receives data from an application that relies on serial communication in the user terminal by using the virtual serial port, and sends the data to a wireless communication port of the wireless network card.
本发明实施例还提供了一种用户终端, 该用户终端设置有与无线接入 终端关联的无线网卡, 该用户终端还包括以上所述的无线接入终端驱动装 置。  The embodiment of the present invention further provides a user terminal, where the user terminal is provided with a wireless network card associated with the wireless access terminal, and the user terminal further includes the wireless access terminal driving device described above.
本发明实施例所提供的技术方案中, 在用户终端上创建与无线接入终 端对应的虚拟串口, 并预安装支持虚拟串口的虚拟串口驱动, 用户终端中 依赖串口通信应用需要与网络侧进行数据交互时, 利用虚拟串口与无线通 信端口进行无线通信数据交互, 该无线通信端口为用户终端中与无线接入 终端关联的无线网卡的端口, 能够支持用户终端中依赖串口通信的应用。 附图说明  In the technical solution provided by the embodiment of the present invention, a virtual serial port corresponding to the wireless access terminal is created on the user terminal, and a virtual serial port driver supporting the virtual serial port is pre-installed, and the serial communication application in the user terminal needs to perform data with the network side. During the interaction, the virtual serial port and the wireless communication port are used for wireless communication data interaction. The wireless communication port is a port of the wireless network card associated with the wireless access terminal in the user terminal, and can support an application that relies on serial communication in the user terminal. DRAWINGS
图 1为本发明实施例的无线接入终端驱动方法的实现流程示意图; 图 2为本发明实施例的无线接入终端驱动装置的组成结构示意图; 图 3为本发明实施例的 GPS APP接收来自无线路由终端的无线通信数 据的实现流程示意图; 图 4为本发明实施例的驱动无线接入终端的实现流程示意图。 具体实施方式 1 is a schematic flowchart of a method for driving a wireless access terminal according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of a wireless access terminal driving device according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a GPS APP receiving according to an embodiment of the present invention; Schematic diagram of the implementation process of wireless communication data of the wireless routing terminal; FIG. 4 is a schematic diagram of an implementation process of driving a wireless access terminal according to an embodiment of the present invention. detailed description
本发明实施例的基本思想是:检测连接到用户的无线接入终端的类型, 在无线接入终端的类型不支持用户终端中依赖串口通信的应用时, 在用户 终端上创建与所述无线接入终端对应的虚拟串口, 通过所述虚拟串口, 支 持用户终端中依赖串口通信的应用。  The basic idea of the embodiment of the present invention is to detect the type of the wireless access terminal connected to the user. When the type of the wireless access terminal does not support the application of the serial communication in the user terminal, the wireless terminal is created on the user terminal. The virtual serial port corresponding to the terminal supports the application that relies on serial communication in the user terminal through the virtual serial port.
下面结合附图及具体实施例对本发明做进一步详细的说明。  The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明实施例记载了一种无线数据接入终端驱动方法, 利用所述无线 接入终端接入网络的用户终端设置有与所述无线接入终端关联的无线网 卡, 图 1 为本发明实施例的无线接入终端驱动方法的实现流程示意图, 如 图 1所示, 包括以下步驟:  The embodiment of the present invention describes a method for driving a wireless data access terminal. The user terminal that accesses the network by using the wireless access terminal is provided with a wireless network card associated with the wireless access terminal. FIG. 1 is an embodiment of the present invention. The schematic diagram of the implementation process of the wireless access terminal driving method, as shown in FIG. 1, includes the following steps:
步驟 101: 所述用户终端创建与所述无线接入终端对应的虚拟串口, 并 预安装支持所述虚拟串口的虚拟串口驱动, 使所述虚拟串口与所述无线网 卡的无线通信端口连接。  Step 101: The user terminal creates a virtual serial port corresponding to the wireless access terminal, and pre-installs a virtual serial port driver that supports the virtual serial port, so that the virtual serial port is connected to the wireless communication port of the wireless network card.
所述无线接入终端包括以下类型: 无线上网终端、 无线路由终端以及 无线上网终端和无线路由终端的复合型终端(以下简称复合型终端)。 所述 复合型终端, 可以作为无线上网终端, 也可以作为无线路由终端。  The wireless access terminal includes the following types: a wireless internet terminal, a wireless routing terminal, and a composite terminal of a wireless internet terminal and a wireless routing terminal (hereinafter referred to as a composite terminal). The composite terminal can be used as a wireless internet terminal or as a wireless routing terminal.
由于所述无线上网终端连接到所述用户终端时会在所述用户终端上映 射相应的串口, 所述串口能够支持所述用户终端中依赖串口通信的应用, 因此, 步驟 101 之前, 需要确定连接到所述用户终端的无线接入终端的类 型, 可以通过以下方式实现:  When the wireless internet terminal is connected to the user terminal, the corresponding serial port is mapped on the user terminal, and the serial port can support an application that relies on serial communication in the user terminal. Therefore, before step 101, the connection needs to be determined. The type of the wireless access terminal to the user terminal can be implemented in the following manner:
所述用户终端检测连接到所述用户终端的无线接入终端的类型, 在所 述无线接入终端的类型为无线上网终端时, 预安装与所述无线接入终端对 应的串口驱动, 如此可支持用户终端中依赖串口通信的应用;  The user terminal detects a type of the wireless access terminal connected to the user terminal, and when the type of the wireless access terminal is a wireless internet terminal, pre-installing a serial port driver corresponding to the wireless access terminal, so that Support applications that rely on serial communication in user terminals;
所述用户终端检测连接到所述用户终端的无线接入终端的类型, 并在 所述无线接入终端的类型为无线路由终端, 或为复合型终端时, 执行步驟The user terminal detects a type of a wireless access terminal connected to the user terminal, and When the type of the wireless access terminal is a wireless routing terminal, or is a composite terminal, performing steps
101 ; 101 ;
在步驟 101 —个优选的实施方式中, 所述用户终端可以通过如下方式 确定连接到所述用户终端的无线接入终端的类型: 所述用户终端向所述无 线接入终端在所述用户终端映射出的虚拟光盘驱动器发送预设 SCSI握手消 息, 和 /或向所述无线接入终端在所述用户终端映射出的大容量存储设备发 送预设 USB握手消息,根据所述虚拟光盘驱动器和 /或所述大容量存储设备 返回的握手响应消息, 确定所述无线接入终端的类型。  In a preferred embodiment, the user terminal may determine the type of the wireless access terminal connected to the user terminal by: the user terminal to the wireless access terminal at the user terminal The mapped virtual optical disc drive sends a preset SCSI handshake message, and/or sends a preset USB handshake message to the mass storage device mapped by the wireless access terminal on the user terminal, according to the virtual optical disc drive and/or Or a handshake response message returned by the mass storage device to determine a type of the wireless access terminal.
步驟 102: 所述用户终端利用所述虚拟串口,进行所述用户终端中依赖 串口通信的应用与所述无线网卡的无线通信端口之间的数据交互。  Step 102: The user terminal uses the virtual serial port to perform data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card.
在步驟 102—个优选的实施方式中, 所述用户终端利用所述虚拟串口 接收由所述无线网卡通过所述无线通信端口发送的无线通信数据, 并将所 述无线通信数据发送至所述用户终端中依赖串口通信的应用; 利用所述虚 拟串口接收来自所述用户终端中依赖串口通信的应用的数据, 并将所述数 据发送至所述无线网卡的无线通信端口; 其中, 所述用户终端进行依赖串 口通信的应用与所述无线网卡的无线通信端口之间的无线通信数据交互之 前, 还加载所述预安装的虚拟串口驱动。  In a preferred embodiment, the user terminal receives, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and sends the wireless communication data to the user. An application that relies on serial communication in the terminal; receiving, by the virtual serial port, data from an application that relies on serial communication in the user terminal, and transmitting the data to a wireless communication port of the wireless network card; wherein, the user terminal The pre-installed virtual serial port driver is also loaded before the wireless communication data interaction between the application relying on the serial port communication and the wireless communication port of the wireless network card is performed.
基于图 1所示的无线接入终端驱动方法, 图 2为本发明实施例的无线 接入终端驱动装置的组成结构示意图, 如图 2所示, 所述装置包括: 预安 装驱动单元 21和虚拟串口驱动单元 22; 其中,  FIG. 2 is a schematic structural diagram of a wireless access terminal driving apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a pre-installed driving unit 21 and a virtual Serial port drive unit 22; wherein
所述预安装驱动单元 21 ,配置为创建与无线接入终端对应的虚拟串口, 并预安装支持所述虚拟串口的虚拟串口驱动, 使所述虚拟串口与所述无线 接入终端关联的无线网卡的无线通信端口连接;  The pre-installed driving unit 21 is configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver supporting the virtual serial port, and the wireless serial port associated with the wireless serial terminal is connected to the wireless serial port. Wireless communication port connection;
所述虚拟串口驱动单元 22, 配置为利用所述虚拟串口, 进行用户终端 中依赖串口通信的应用与所述无线网卡的无线通信端口之间的数据交互。 所述装置还包括: 检测单元 23 , 配置为检测连接到所述用户终端的无 线接入终端的类型, 并在确定所述无线接入终端的类型为无线路由终端, 或为无线路由终端和无线上网终端的复合型终端时, 触发所述预安装驱动 单元 21。 The virtual serial port driving unit 22 is configured to perform data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card by using the virtual serial port. The device further includes: a detecting unit 23 configured to detect a type of the wireless access terminal connected to the user terminal, and determine that the type of the wireless access terminal is a wireless routing terminal, or is a wireless routing terminal and wireless When the composite terminal of the internet terminal is used, the pre-installed drive unit 21 is triggered.
其中, 所述检测单元 23 , 还配置为检测连接到所述用户终端的无线接 入终端的类型, 并在确定所述无线接入终端的类型为无线上网终端时, 触 发所述预安装驱动单元 21 ;  The detecting unit 23 is further configured to detect a type of the wireless access terminal connected to the user terminal, and trigger the pre-installed driving unit when determining that the type of the wireless access terminal is a wireless internet terminal twenty one ;
所述预安装驱动单元 21 , 还配置为预安装与所述无线接入终端对应的 串口驱动。  The pre-installed driving unit 21 is further configured to pre-install a serial port driver corresponding to the wireless access terminal.
其中, 所述检测单元 23 , 还配置为向所述无线接入终端在所述用户终 端映射出的虚拟光盘驱动器发送预设 SCSI握手消息,和 /或向所述无线接入 终端在所述用户终端映射出的大容量存储设备发送预设 USB握手消息, 根 据所述虚拟光盘驱动器和 /或所述大容量存储设备返回的握手响应消息, 确 定所述无线接入终端的类型。  The detecting unit 23 is further configured to send a preset SCSI handshake message to the virtual optical disc drive mapped by the wireless access terminal on the user terminal, and/or to the wireless access terminal in the user The mass storage device mapped by the terminal sends a preset USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
其中, 所述虚拟串口驱动单元 22, 还配置为利用所述虚拟串口接收由 所述无线网卡通过所述无线通信端口发送的无线通信数据, 并将所述无线 通信数据发送至所述用户终端中依赖串口通信的应用; 以及, 利用所述虚 拟串口接收来自所述用户终端中依赖串口通信的应用的数据, 并将所述数 据发送至所述无线网卡的无线通信端口。  The virtual serial port driving unit 22 is further configured to receive, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and send the wireless communication data to the user terminal. An application that relies on serial communication; and, using the virtual serial port, receives data from an application that relies on serial communication in the user terminal, and transmits the data to a wireless communication port of the wireless network card.
实际应用中, 所述预安装驱动单元 21、虚拟串口驱动单元 22和检测单 元 23 , 均可由无线接入终端驱动装置中的中央处理器 (CPU , Central Processing Unit )、 数字信号处理器(DSP, Digital Signal Processor )或现场 可编程门阵列 (FPGA, Field Programmable Gate Array ) 实现。  In a practical application, the pre-installed driving unit 21, the virtual serial port driving unit 22, and the detecting unit 23 can be driven by a central processing unit (CPU) and a digital signal processor (DSP) in the wireless access terminal driving device. Digital Signal Processor) or Field Programmable Gate Array (FPGA).
下面以用户终端中依赖串口通信的 GPS APP接收来自无线路由终端的 无线通信数据为例, 对本发明实施例的无线接入终端驱动装置中的虚拟串 口驱动单元 22做进一步详细说明。 For example, the wireless communication data from the wireless routing terminal is received by the GPS APP that relies on serial communication in the user terminal as an example, and the virtual string in the wireless access terminal driving device of the embodiment of the present invention is used. Port drive unit 22 is described in further detail.
GPS APP接收来自无线路由终端的无线通信数据的处理流程为: GPS APP打开与无线路由终端对应的虚拟串口时,虚拟串口驱动单元 22注册窗 口套接字 ( Winsock, Windows Socket ) 内核应用程序, 并向无线路由终端 在用户终端关联的无线网卡发送 GPS功能相关的网络数据包请求, 以请求 GPS功能是否开启、 GPS应用端口号等信息, 当虚拟串口驱动单元 22接收 到无线网卡返回的上述信息时, 利用 GPS应用端口号与无线路由终端上的 GPS功能端口建立套接字 (Socket )连接; 虚拟串口驱动单元 22监听到无 线路由终端 GPS功能端口的数据并把该数据返回给 GPS APP。  The processing procedure of the GPS APP receiving the wireless communication data from the wireless routing terminal is: when the GPS APP opens the virtual serial port corresponding to the wireless routing terminal, the virtual serial port driving unit 22 registers the window socket (Winsock, Windows Socket) kernel application, and Sending a GPS function related network data packet request to the wireless routing terminal to the wireless network card associated with the user terminal to request whether the GPS function is enabled, the GPS application port number, and the like, when the virtual serial port driving unit 22 receives the above information returned by the wireless network card The socket is connected with the GPS function port on the wireless routing terminal by using the GPS application port number; the virtual serial port driving unit 22 monitors the data of the GPS function port of the wireless routing terminal and returns the data to the GPS APP.
图 3为本发明实施例的 GPS APP接收来自无线路由终端的无线通信数 据的实现流程示意图, 如图 3所示, 包括:  FIG. 3 is a schematic flowchart of an implementation process of a GPS APP receiving wireless communication data from a wireless routing terminal according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
步驟 301 : GPS APP打开虚拟串口。  Step 301: The GPS APP opens the virtual serial port.
步驟 302: 虚拟串口驱动单元 22向 GPS APP提供回调函数调用。  Step 302: The virtual serial port driving unit 22 provides a callback function call to the GPS APP.
该回调函数为 IRP_MJ_CREATE函数。  This callback function is the IRP_MJ_CREATE function.
步驟 303: 虚拟串口驱动单元 22利用回调函数, 通过窗口套接字内核 Step 303: The virtual serial port drive unit 22 utilizes a callback function through the window socket kernel.
( WSK, Winsock Kernel ) 注册 GPS APP。 ( WSK, Winsock Kernel ) Register for the GPS app.
步驟 304:虚拟串口驱动单元 22通过传输控制协议( TCP, Transmission Control Protocol ) 80端口模拟超文本传输协议 ( HTTP, Hyper Text Transfer Protocol )请求, 发送请求消息至无线路由终端在用户终端上关联的无线网 卡。  Step 304: The virtual serial port driving unit 22 sends a request message to the wireless routing terminal to associate the wireless terminal with the Hyper Text Transfer Protocol (HTTP) through a Transmission Control Protocol (TCP). Network card.
该请求消息配置为请求 GPS是否开启、 GPS应用端口号等信息。  The request message is configured to request information such as whether the GPS is enabled, the GPS application port number, and the like.
步驟 305: 虚拟串口驱动单元 22通过 TCP 80端口接收返回消息。  Step 305: The virtual serial port drive unit 22 receives the return message through the TCP port 80.
步驟 306: 判断 GPS信息是否获取成功。  Step 306: Determine whether the GPS information is successfully obtained.
若步驟 305中 GPS信息返回失败, 则直接执行步驟 312, 并将 GPS信 息获取失败信息通知 GPS APP。 若步驟 305中 GPS信息返回成功, 则执行步驟 307。 If the GPS information returns in step 305, step 312 is directly executed, and the GPS information acquisition failure information is notified to the GPS APP. If the GPS information returns successfully in step 305, step 307 is performed.
步驟 307: 判断 GPS是否开启, 若 GPS开启则执行步驟 310; 否则, 执行步驟 308。  Step 307: Determine whether the GPS is turned on. If the GPS is turned on, go to step 310; otherwise, go to step 308.
步驟 308: 开启 GPS。  Step 308: Turn on the GPS.
步驟 309:判断 GPS开启是否成功,若 GPS开启成功,则执行步驟 310; 否则, 执行步驟 312, 并将 GPS开启失败信息通知 GPS APP。  Step 309: Determine whether the GPS is successfully turned on. If the GPS is successfully turned on, go to step 310; otherwise, go to step 312 and notify the GPS APP of the GPS start failure message.
步驟 310: 虚拟串口驱动单元 22利用 GPS端口号与无线路由终端的 GPS功能端口建立 Socket连接。  Step 310: The virtual serial port driving unit 22 establishes a Socket connection with the GPS function port of the wireless routing terminal by using the GPS port number.
步驟 311: 虚拟串口驱动单元 22通过 GPS端口侦听无线通信数据。 步驟 312: 虚拟串口驱动单元 22分配内存, 填充侦听的无线通信数据 至输入 /输出请求包( IRP, Input/Output Request Packet )请求, 将该请求返 回 GPS ΑΡΡ。  Step 311: The virtual serial port driving unit 22 listens for wireless communication data through the GPS port. Step 312: The virtual serial port driving unit 22 allocates memory, fills the intercepted wireless communication data to an IRP (Input/Output Request Packet) request, and returns the request to the GPS port.
步驟 313: GPS APP关闭虚拟串口, 虚拟串口驱动单元 22关闭 WSK。 相应的, 本发明实施例还记载了一种用户终端, 该用户终端设置有与 无线接入终端关联的无线网卡, 该用户终端包括:  Step 313: The GPS APP closes the virtual serial port, and the virtual serial port drive unit 22 turns off the WSK. Correspondingly, the embodiment of the present invention further describes a user terminal, where the user terminal is provided with a wireless network card associated with the wireless access terminal, and the user terminal includes:
无线接入终端驱动装置, 配置为创建与无线接入终端对应的虚拟串口, 并预安装支持所述虚拟串口的虚拟串口驱动, 使所述虚拟串口与所述无线 网卡的无线通信端口连接; 利用所述虚拟串口, 进行所述用户终端中依赖 串口通信的应用与所述无线网卡的无线通信端口之间的无线通信数据交 互。  a wireless access terminal driving device, configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver supporting the virtual serial port, so that the virtual serial port is connected to the wireless communication port of the wireless network card; The virtual serial port performs wireless communication data interaction between an application that relies on serial communication in the user terminal and a wireless communication port of the wireless network card.
其中, 所述无线接入终端驱动装置还配置为创建与无线接入终端对应 的虚拟串口, 并预安装支持所述虚拟串口的虚拟串口驱动, 使所述虚拟串 口与所述无线接入终端关联的无线网卡的无线通信端口连接; 利用所述虚 拟串口, 进行用户终端中依赖串口通信的应用与所述无线网卡的无线通信 端口之间的数据交互。 其中, 所述无线接入终端还配置为创建与无线接入终端对应的虚拟串 口, 并预安装支持所述虚拟串口的虚拟串口驱动, 使所述虚拟串口与所述 无线接入终端关联的无线网卡的无线通信端口连接之前, 检测连接到所述 用户终端的无线接入终端的类型, 并确定所述无线接入终端的类型为无线 路由终端, 或为无线路由终端和无线上网终端的复合型终端。 The wireless access terminal driving device is further configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver supporting the virtual serial port, so that the virtual serial port is associated with the wireless access terminal The wireless communication port of the wireless network card is connected; and the virtual serial port is used to perform data interaction between the application in the user terminal that relies on serial communication and the wireless communication port of the wireless network card. The wireless access terminal is further configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver that supports the virtual serial port, so that the virtual serial port is associated with the wireless access terminal. Before the wireless communication port of the network card is connected, detecting the type of the wireless access terminal connected to the user terminal, and determining that the type of the wireless access terminal is a wireless routing terminal, or a composite type of the wireless routing terminal and the wireless internet terminal terminal.
其中, 所述无线接入终端还配置为检测连接到所述用户终端的无线接 入终端的类型, 并在确定所述无线接入终端的类型为无线上网终端时, 预 安装与所述无线接入终端对应的串口驱动。  The wireless access terminal is further configured to detect a type of the wireless access terminal connected to the user terminal, and pre-install and the wireless connection when determining that the type of the wireless access terminal is a wireless internet terminal Enter the serial port driver corresponding to the terminal.
其中, 所述无线接入终端还配置为向所述无线接入终端在所述用户终 端映射出的虚拟光盘驱动器发送预设 SCSI握手消息,和 /或向所述无线接入 终端在所述用户终端映射出的大容量存储设备发送预设 USB握手消息, 根 据所述虚拟光盘驱动器和 /或所述大容量存储设备返回的握手响应消息, 确 定所述无线接入终端的类型。  The wireless access terminal is further configured to send a preset SCSI handshake message to the virtual optical disc drive mapped by the wireless access terminal on the user terminal, and/or to the wireless access terminal at the user The mass storage device mapped by the terminal sends a preset USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
其中, 所述无线接入终端还配置为利用所述虚拟串口接收由所述无线 网卡通过所述无线通信端口发送的无线通信数据, 并将所述无线通信数据 发送至所述用户终端中依赖串口通信的应用; 利用所述虚拟串口接收来自 所述用户终端中依赖串口通信的应用的无线通信数据, 并将所述无线通信 数据发送至所述无线网卡的无线通信端口。  The wireless access terminal is further configured to receive, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and send the wireless communication data to a serial port in the user terminal. An application of communication; receiving, by the virtual serial port, wireless communication data from an application of the user terminal that relies on serial communication, and transmitting the wireless communication data to a wireless communication port of the wireless network card.
其中, 所述无线接入终端驱动装置的组成结构示意图如图 2所示, 包 括:  The schematic diagram of the structure of the wireless access terminal driving device is as shown in FIG. 2, which includes:
预安装驱动单元 21 , 配置为创建与无线接入终端对应的虚拟串口, 并 预安装支持所述虚拟串口的虚拟串口驱动, 使所述虚拟串口与所述无线接 入终端关联的无线网卡的无线通信端口连接;  The pre-installation driving unit 21 is configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver that supports the virtual serial port, so that the virtual serial port is wireless with the wireless network card associated with the wireless access terminal. Communication port connection;
虚拟串口驱动单元 22, 配置为利用所述虚拟串口, 进行用户终端中依 赖串口通信的应用与所述无线网卡的无线通信端口之间的无线通信数据交 互。 The virtual serial port driving unit 22 is configured to use the virtual serial port to perform wireless communication data communication between the application that relies on serial communication in the user terminal and the wireless communication port of the wireless network card. Mutual.
所述装置还包括: 检测单元 23, 配置为检测连接到所述用户终端的无 线接入终端的类型, 并在确定所述无线接入终端的类型为无线路由终端, 或为无线路由终端和无线上网终端的复合型终端时, 触发所述预安装驱动 单元 21。  The device further includes: a detecting unit 23 configured to detect a type of the wireless access terminal connected to the user terminal, and determine that the type of the wireless access terminal is a wireless routing terminal, or is a wireless routing terminal and wireless When the composite terminal of the internet terminal is used, the pre-installed drive unit 21 is triggered.
其中, 所述检测单元 23, 还配置为检测连接到所述用户终端的无线接 入终端的类型, 并在确定所述无线接入终端的类型为无线上网终端时, 触 发所述预安装驱动单元 21;  The detecting unit 23 is further configured to detect a type of the wireless access terminal connected to the user terminal, and trigger the pre-installed driving unit when determining that the type of the wireless access terminal is a wireless internet terminal twenty one;
所述预安装驱动单元 21 , 配置为预安装与所述无线接入终端对应的串 口驱动。  The pre-installation driving unit 21 is configured to pre-install a serial port driver corresponding to the wireless access terminal.
其中, 所述检测单元 23, 还配置为向所述无线接入终端在所述用户终 端映射出的虚拟光盘驱动器发送预设 SCSI握手消息,和 /或向所述无线接入 终端在所述用户终端映射出的大容量存储设备发送预设 USB握手消息, 根 据所述虚拟光盘驱动器和 /或所述大容量存储设备返回的握手响应消息, 确 定所述无线接入终端的类型。  The detecting unit 23 is further configured to send a preset SCSI handshake message to the virtual optical disc drive mapped by the wireless access terminal on the user terminal, and/or to the wireless access terminal in the user The mass storage device mapped by the terminal sends a preset USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
其中, 所述虚拟串口驱动单元 22, 还配置为利用所述虚拟串口接收由 所述无线网卡通过所述无线通信端口发送的无线通信数据, 并将所述无线 通信数据发送至所述用户终端中依赖串口通信的应用; 利用所述虚拟串口 接收来自所述用户终端中依赖串口通信的应用的无线通信数据, 并将所述 无线通信数据发送至所述无线网卡的无线通信端口。  The virtual serial port driving unit 22 is further configured to receive, by using the virtual serial port, wireless communication data sent by the wireless network card through the wireless communication port, and send the wireless communication data to the user terminal. An application that relies on serial communication; receives wireless communication data from an application that relies on serial communication in the user terminal by using the virtual serial port, and transmits the wireless communication data to a wireless communication port of the wireless network card.
实际应用中, 所述预安装驱动单元 21、虚拟串口驱动单元 22和检测单 元 23, 均可由无线接入终端驱动装置中的 CPU、 DSP或 FPGA实现。  In practical applications, the pre-installed driving unit 21, the virtual serial port driving unit 22, and the detecting unit 23 can be implemented by a CPU, DSP or FPGA in the wireless access terminal driving device.
下面结合具体实施例, 对本发明实施例的无线接入终端驱动方法、 装 置及终端作进一步详细说明, 图 4为本发明实施例的驱动无线接入终端的 实现流程示意图, 如图 4所示, 包括以下步驟: 步驟 401: 无线接入终端连接到用户终端。 The method, device and terminal for driving the wireless access terminal according to the embodiment of the present invention are further described in detail below with reference to the specific embodiments. FIG. 4 is a schematic flowchart of the implementation of driving the wireless access terminal according to the embodiment of the present invention. Includes the following steps: Step 401: The wireless access terminal is connected to the user terminal.
步驟 402: 无线接入终端驱动装置被用户终端调用。  Step 402: The wireless access terminal driving device is called by the user terminal.
步驟 403: 无线接入终端驱动装置发送握手消息。  Step 403: The wireless access terminal driving device sends a handshake message.
无接入终端驱动装置向无线接入终端连接到用户终端时, 在用户终端 上映射的虚拟光盘驱动器发送预设 SCSI握手消息,和 /或向所述无线接入终 端在所述用户终端映射出的大容量存储设备发送预设通用串行总线 USB握 手消息。  When the non-access terminal driving device connects to the user terminal, the virtual optical disc drive mapped on the user terminal sends a preset SCSI handshake message, and/or maps to the wireless access terminal at the user terminal. The mass storage device sends a preset universal serial bus USB handshake message.
步驟 404: 无线接入终端驱动装置接收握手答复消息。  Step 404: The wireless access terminal driving device receives the handshake reply message.
步驟 405:无线接入终端驱动装置判断无线接入终端类型是否为无线上 网终端, 如果是, 则执行步驟 406; 否则执行步驟 409。  Step 405: The wireless access terminal driving device determines whether the wireless access terminal type is a wireless uplink terminal, and if yes, step 406 is performed; otherwise, step 409 is performed.
无线接入终端驱动装置解析所述握手答复消息携带的无线接入终端类 型信息, 确定所述无线接入终端的类型。  The wireless access terminal driving device parses the wireless access terminal type information carried in the handshake reply message, and determines the type of the wireless access terminal.
步驟 406: 无线接入终端驱动装置预安装串口驱动。  Step 406: The wireless access terminal driver pre-installs the serial port driver.
所述串口驱动对应无线上网终端连接到用户终端时, 在用户终端映射 的串口。  The serial port driver corresponds to a serial port mapped on the user terminal when the wireless internet terminal is connected to the user terminal.
步驟 407: 无线接入终端驱动装置加载预安装的串口驱动。  Step 407: The wireless access terminal driver loads the pre-installed serial port driver.
步驟 408: 用户终端中的 GPS APP通过串口与无线接入终端进行数据 交互。  Step 408: The GPS APP in the user terminal performs data interaction with the wireless access terminal through the serial port.
步驟 406 ~步驟 408为对应无线接入终端为上网终端时的处理,以使无 线上网终端支持用户终端中支持依赖串口通信的 GPS APP。  Step 406 ~ Step 408 is processing when the corresponding wireless access terminal is the Internet access terminal, so that the wireless Internet terminal supports the GPS APP supporting the serial communication in the user terminal.
步驟 409: 无线接入终端驱动装置创建虚拟串口。  Step 409: The wireless access terminal driver creates a virtual serial port.
该虚拟串口与无线接入终端对应。  The virtual serial port corresponds to a wireless access terminal.
步驟 410: 无线接入终端驱动装置判断无线接入终端是否为复合型终 端, 如果是, 则执行步驟 411; 否则, 执行步驟 412。  Step 410: The wireless access terminal driving device determines whether the wireless access terminal is a composite terminal. If yes, step 411 is performed; otherwise, step 412 is performed.
步驟 411: 无线接入终端驱动装置预安装串口驱动。 所述串口驱动支持的串口为复合型终端作为无线上网终端时接入用户 终端时在用户终端映射的串口。 Step 411: The wireless access terminal driver pre-installs the serial port driver. The serial port supported by the serial port driver is a serial port mapped on the user terminal when the composite terminal is used as a wireless internet terminal when accessing the user terminal.
步驟 412: 无线接入终端驱动装置预安装虚拟串口驱动。  Step 412: The wireless access terminal driver pre-installs the virtual serial port driver.
所述虚拟串口驱动支持步驟 409创建的虚拟串口。  The virtual serial port driver supports the virtual serial port created in step 409.
步驟 413: 无线接入终端驱动装置加载预安装虚拟串口驱动。  Step 413: The wireless access terminal driver loads the pre-installed virtual serial port driver.
步驟 414: GPS APP通过虚拟串口与无线接入终端进行无线通信数据交 互;  Step 414: The GPS APP performs wireless communication data interaction with the wireless access terminal through the virtual serial port;
步驟 413和步驟 414对应无线接入终端为无线路由终端时的处理, 以 使无线接入终端支持用户终端中依赖串口通信的 GPS APP。  Step 413 and step 414 correspond to processing when the wireless access terminal is a wireless routing terminal, so that the wireless access terminal supports the GPS APP in the user terminal that relies on serial communication.
步驟 415: 无线接入终端驱动装置加载预安装串口驱动。  Step 415: The wireless access terminal driver loads the pre-installed serial port driver.
该串口驱动为步驟 411预安装的串口驱动。  The serial port driver is a serial port driver pre-installed in step 411.
步驟 416: GPS APP通过串口与无线接入终端进行无线通信数据交互。 其中, 步驟 415和步驟 416对应复合型终端作为无线上网终端时的处 理, 以使无线接入终端支持用户终端中依赖串口通信的 GPS APP。  Step 416: The GPS APP performs wireless communication data interaction with the wireless access terminal through the serial port. Step 415 and step 416 correspond to processing when the composite terminal is used as the wireless internet terminal, so that the wireless access terminal supports the GPS APP that relies on serial communication in the user terminal.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 claims
1、 一种无线数据接入终端驱动方法, 利用所述无线接入终端接入网络 的用户终端设置有与所述无线接入终端关联的无线网卡; 所述方法包括: 所述用户终端创建与所述无线接入终端对应的虚拟串口, 并预安装支 持所述虚拟串口的虚拟串口驱动, 使所述虚拟串口与所述无线网卡的无线 通信端口连接; 1. A wireless data access terminal driving method, a user terminal that uses the wireless access terminal to access the network is provided with a wireless network card associated with the wireless access terminal; the method includes: the user terminal creates and The virtual serial port corresponding to the wireless access terminal is pre-installed with a virtual serial port driver that supports the virtual serial port, so that the virtual serial port is connected to the wireless communication port of the wireless network card;
所述用户终端利用所述虚拟串口, 进行所述用户终端中依赖串口通信 的应用与所述无线网卡的无线通信端口之间的数据交互。 The user terminal uses the virtual serial port to perform data interaction between applications in the user terminal that rely on serial port communication and the wireless communication port of the wireless network card.
2、 根据权利要求 1所述的方法, 其中, 所述用户终端创建与所述无线 接入终端对应的虚拟串口之前, 所述方法还包括: 2. The method according to claim 1, wherein before the user terminal creates a virtual serial port corresponding to the wireless access terminal, the method further includes:
所述用户终端检测连接到所述用户终端的无线接入终端的类型, 且确 定所述无线接入终端的类型为无线路由终端, 或为无线路由终端和无线上 网终端的复合型终端。 The user terminal detects the type of the wireless access terminal connected to the user terminal, and determines that the type of the wireless access terminal is a wireless routing terminal, or a composite terminal of a wireless routing terminal and a wireless Internet access terminal.
3、 根据权利要 1所述的方法, 其中, 所述在用户终端上创建与所述无 线接入终端对应的虚拟串口之前, 所述方法还包括: 3. The method according to claim 1, wherein before creating the virtual serial port corresponding to the wireless access terminal on the user terminal, the method further includes:
所述用户终端检测连接到所述用户终端的无线接入终端的类型, 并在 确定所述无线接入终端的类型为无线上网终端时, 预安装与所述无线接入 终端对应的串口驱动。 The user terminal detects the type of wireless access terminal connected to the user terminal, and when determining that the type of the wireless access terminal is a wireless Internet access terminal, pre-installs a serial port driver corresponding to the wireless access terminal.
4、 根据权利要求 2或 3所述的方法, 其中, 所述用户终端检测连接到 所述用户终端的无线接入终端的类型, 包括: 4. The method according to claim 2 or 3, wherein the user terminal detects the type of wireless access terminal connected to the user terminal, including:
向所述无线接入终端在所述用户终端映射出的虚拟光盘驱动器发送预 设小型计算机系统接口 SCSI握手消息,和 /或向所述无线接入终端在所述用 户终端映射出的大容量存储设备发送预设通用串行总线 USB握手消息, 根 据所述虚拟光盘驱动器和 /或所述大容量存储设备返回的握手响应消息, 确 定所述无线接入终端的类型。 Send a preset small computer system interface SCSI handshake message to the virtual optical disk drive mapped by the wireless access terminal on the user terminal, and/or to the large-capacity storage mapped by the wireless access terminal on the user terminal. The device sends a preset universal serial bus USB handshake message, and determines the type of the wireless access terminal according to the handshake response message returned by the virtual optical disk drive and/or the mass storage device.
5、 根据权利要求 1、 2或 3所述的方法, 其中, 所述用户终端利用所 述虚拟串口, 进行用户终端中依赖串口通信的应用与所述无线网卡的无线 通信端口之间的数据交互, 包括: 5. The method according to claim 1, 2 or 3, wherein the user terminal uses the virtual serial port to perform data interaction between applications in the user terminal that rely on serial port communication and the wireless communication port of the wireless network card. , include:
所述用户终端利用所述虚拟串口接收由所述无线网卡通过所述无线通 信端口发送的无线通信数据, 并将所述无线通信数据发送至所述用户终端 中依赖串口通信的应用; 利用所述虚拟串口接收来自所述用户终端中依赖 串口通信的应用的数据, 并将所述数据发送至所述无线网卡的无线通信端 口。 The user terminal uses the virtual serial port to receive wireless communication data sent by the wireless network card through the wireless communication port, and sends the wireless communication data to an application in the user terminal that relies on serial port communication; using the The virtual serial port receives data from applications in the user terminal that rely on serial port communication, and sends the data to the wireless communication port of the wireless network card.
6、 一种无线接入终端驱动装置, 所述装置包括: 预安装驱动单元和虚 拟串口驱动单元; 其中, 6. A wireless access terminal driving device, the device includes: a pre-installed driving unit and a virtual serial port driving unit; wherein,
所述预安装驱动单元, 配置为创建与无线接入终端对应的虚拟串口, 并预安装支持所述虚拟串口的虚拟串口驱动; The pre-installed driver unit is configured to create a virtual serial port corresponding to the wireless access terminal, and pre-install a virtual serial port driver that supports the virtual serial port;
所述虚拟串口驱动单元, 配置为利用所述虚拟串口, 进行用户终端中 依赖串口通信的应用与所述无线网卡的无线通信端口之间的无线通信数据 交互。 The virtual serial port driver unit is configured to utilize the virtual serial port to perform wireless communication data interaction between applications in the user terminal that rely on serial port communication and the wireless communication port of the wireless network card.
7、 根据权利要求 6所述的无线接入终端驱动装置, 其中, 所述装置还 包括: 7. The wireless access terminal driving device according to claim 6, wherein the device further includes:
检测单元, 配置为检测连接到所述用户终端的无线接入终端的类型, 并在确定所述无线接入终端的类型为无线路由终端, 或为无线路由终端和 无线上网终端的复合型终端时, 触发所述预安装驱动单元。 A detection unit configured to detect the type of wireless access terminal connected to the user terminal, and determine that the type of the wireless access terminal is a wireless routing terminal, or a composite terminal of a wireless routing terminal and a wireless Internet access terminal. , triggering the pre-installed driver unit.
8、 根据权利要求 6所述的无线接入终端驱动装置, 其中, 8. The wireless access terminal driving device according to claim 6, wherein,
所述检测单元, 还配置为检测连接到所述用户终端的无线接入终端的 类型, 并在确定所述无线接入终端的类型为无线上网终端时, 触发所述预 安装驱动单元; The detection unit is further configured to detect the type of wireless access terminal connected to the user terminal, and trigger the pre-installation driver unit when it is determined that the type of the wireless access terminal is a wireless Internet access terminal;
所述预安装驱动单元, 配置为预安装与所述无线接入终端对应的串口 驱动。 The pre-installed drive unit is configured to pre-install a serial port corresponding to the wireless access terminal. drive.
9、 根据权利要求 7或 8所述的无线接入终端驱动装置, 其中, 所述检测单元, 还配置为向所述无线接入终端在所述用户终端映射出 的虚拟光盘驱动器发送预设 SCSI握手消息,和 /或向所述无线接入终端在所 述用户终端映射出的大容量存储设备发送预设 USB握手消息, 根据所述虚 拟光盘驱动器和 /或所述大容量存储设备返回的握手响应消息, 确定所述无 线接入终端的类型。 9. The wireless access terminal driving device according to claim 7 or 8, wherein the detection unit is further configured to send a preset SCSI to the virtual optical disk drive mapped by the wireless access terminal on the user terminal. Handshake message, and/or send a preset USB handshake message to the mass storage device mapped by the wireless access terminal on the user terminal, according to the handshake returned by the virtual optical disk drive and/or the mass storage device In response to the message, the type of the wireless access terminal is determined.
10、 根据权利要求 6、 7或 8所述的无线接入终端驱动装置, 其中, 所述虚拟串口驱动单元, 还配置为利用所述虚拟串口接收由所述无线 网卡通过所述无线通信端口发送的无线通信数据, 并将所述无线通信数据 发送至所述用户终端中依赖串口通信的应用; 利用所述虚拟串口接收来自 所述用户终端中依赖串口通信的应用的数据, 并将所述数据发送至所述无 线网卡的无线通信端口。 10. The wireless access terminal driving device according to claim 6, 7 or 8, wherein the virtual serial port driving unit is further configured to use the virtual serial port to receive data sent by the wireless network card through the wireless communication port. wireless communication data, and send the wireless communication data to an application in the user terminal that relies on serial port communication; use the virtual serial port to receive data from an application in the user terminal that relies on serial port communication, and send the data to Sent to the wireless communication port of the wireless network card.
11、 一种用户终端, 所述用户终端设置有与无线接入终端关联的无线 网卡, 所述用户终端还包括权利要求 6至 10任一项所述的无线接入终端驱 动装置。 11. A user terminal, the user terminal is provided with a wireless network card associated with a wireless access terminal, and the user terminal further includes the wireless access terminal driving device according to any one of claims 6 to 10.
PCT/CN2013/082562 2013-06-04 2013-08-29 Wireless access terminal driving method and apparatus, and terminal WO2013189452A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310219032.6A CN104219795A (en) 2013-06-04 2013-06-04 Wireless access terminal driving method and device and terminal
CN201310219032.6 2013-06-04

Publications (2)

Publication Number Publication Date
WO2013189452A2 true WO2013189452A2 (en) 2013-12-27
WO2013189452A3 WO2013189452A3 (en) 2014-04-24

Family

ID=49769590

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/082562 WO2013189452A2 (en) 2013-06-04 2013-08-29 Wireless access terminal driving method and apparatus, and terminal

Country Status (2)

Country Link
CN (1) CN104219795A (en)
WO (1) WO2013189452A2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10248431B2 (en) * 2015-01-06 2019-04-02 Vertiv It Systems, Inc. System and method for presenting driver install files when enabling a USB device
CN108376122A (en) * 2017-12-06 2018-08-07 曲旭光 A kind of network expansion method and self-aided terminal for serial equipment application software
CN113392044A (en) * 2021-05-06 2021-09-14 深圳市广和通无线股份有限公司 Positioning data transmission method and device based on Windows10
CN113360443B (en) * 2021-05-31 2022-07-08 浪潮电子信息产业股份有限公司 Serial port card communication realization method, device, equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547561A (en) * 2011-12-13 2012-07-04 华为终端有限公司 Method realizing location service of mobile device, and wireless access device
CN102917390A (en) * 2012-09-21 2013-02-06 北京创毅讯联科技股份有限公司 Method and system for controlling connection state of LTE (long term evolution) data card
WO2013071709A1 (en) * 2011-11-18 2013-05-23 中兴通讯股份有限公司 Wireless broadband data card supporting accessing network in 3g and wi-fi manners

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7835342B2 (en) * 2002-12-09 2010-11-16 Lee Howard K Dedicated device for automatically accessing wireless internet network and supplying wireless packet data-based indoor-capable GPS locations

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013071709A1 (en) * 2011-11-18 2013-05-23 中兴通讯股份有限公司 Wireless broadband data card supporting accessing network in 3g and wi-fi manners
CN102547561A (en) * 2011-12-13 2012-07-04 华为终端有限公司 Method realizing location service of mobile device, and wireless access device
CN102917390A (en) * 2012-09-21 2013-02-06 北京创毅讯联科技股份有限公司 Method and system for controlling connection state of LTE (long term evolution) data card

Also Published As

Publication number Publication date
WO2013189452A3 (en) 2014-04-24
CN104219795A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
KR101724811B1 (en) Method, device, system, program and storage medium for controlling access to router
US9461927B2 (en) Method, device, and system for delaying packets during a network-triggered wake of a computing device
EP2988191B1 (en) Method and electronic device for reducing current consumption by the electronic device
TW201629783A (en) Emulated endpoint configuration
KR20140013058A (en) Over-the-air device configuration
CN104036628A (en) Intelligent remote controller based on Bluetooth and quick pairing method
GB2512694A (en) Wake on Cloud
KR101754680B1 (en) Method, apparatus and system of recovering an operating system on a portable communication device
WO2018045487A1 (en) Data sharing method and terminal
EP3409073B1 (en) Method and electronic device for providing tethering service
WO2018036026A1 (en) Data transmission method, base station, target terminal, system and storage medium
WO2013189452A2 (en) Wireless access terminal driving method and apparatus, and terminal
WO2013174265A1 (en) Data transmission method and device
US20170323115A1 (en) Method and apparatus for remotely deleting information
CN104133728A (en) Method and device for communication between processes
WO2019205108A1 (en) Constructing common trusted application for a plurality of applications
WO2016119623A1 (en) Method and device for realizing network sharing
WO2019136821A1 (en) Network selection method and apparatus of terminal, computer device, and storage medium
WO2015062234A1 (en) Mobile terminal resource processing method, device and apparatus
EP3584700A1 (en) Fingerprint recognition method and related product
WO2017000495A1 (en) Method and device for adding contacts
EP2658304A1 (en) Setting an Optimal Ping Interval
KR20180110517A (en) An elelctronic device and a coverrage compensation method for a shortrange communication in the elelctronic device
US20170289262A1 (en) Selectively implementing reliability mechanisms based on the type of usb device that is redirected over a remote session
US9876859B1 (en) Client session timeout with automatic refresh

Legal Events

Date Code Title Description
122 Ep: pct application non-entry in european phase

Ref document number: 13807810

Country of ref document: EP

Kind code of ref document: A2