[go: up one dir, main page]

WO2012019376A1 - 无线通信终端网络设备功能的实现方法及装置 - Google Patents

无线通信终端网络设备功能的实现方法及装置 Download PDF

Info

Publication number
WO2012019376A1
WO2012019376A1 PCT/CN2010/077208 CN2010077208W WO2012019376A1 WO 2012019376 A1 WO2012019376 A1 WO 2012019376A1 CN 2010077208 W CN2010077208 W CN 2010077208W WO 2012019376 A1 WO2012019376 A1 WO 2012019376A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless communication
communication terminal
network device
implementing
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2010/077208
Other languages
English (en)
French (fr)
Inventor
赵明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to US13/580,545 priority Critical patent/US9078282B2/en
Priority to EP10855797.6A priority patent/EP2530995B1/en
Priority to AU2010358986A priority patent/AU2010358986B2/en
Priority to CA2790782A priority patent/CA2790782C/en
Publication of WO2012019376A1 publication Critical patent/WO2012019376A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for implementing a network communication device function of a wireless communication terminal. Background technique
  • 3G data cards provide two device configurations for data interaction with the network: one is to emulate a data card into a modem device; the other is to emulate a data card into a network device.
  • the second device form that is, the form of data card emulation into a network device
  • this device form can only be used on Microsoft's Windows platform and cannot be used on non-windows platforms such as desktop Linux and embedded Linux. The reason is that non-windows platforms cannot provide a mechanism for interacting with data cards for network data. Summary of the invention
  • the technical problem to be solved by the present invention is to provide a method and a device for implementing the functions of a network device of a wireless communication terminal, which can realize interaction of network data with a wireless communication terminal on a non-windows platform.
  • a method for implementing a wireless communication terminal network device function including: the wireless communication terminal network device function implementation device receives a control instruction, and determines the control The sender of the instruction;
  • the implementing device of the wireless communication terminal network device function forwards the received control command to the wireless communication terminal;
  • the implementing device of the wireless communication terminal network device function forwards the received control command to the host.
  • the device for implementing the function of the network device of the wireless communication terminal receives the control command, and determines that the sender of the control command includes:
  • the implementation device of the wireless communication terminal network device function receives a socket request message, where the socket request message carries the control instruction and the sender of the control instruction.
  • the device for implementing the function of the network device of the wireless communication terminal forwards the received control command to the wireless communication terminal, including:
  • the implementing device of the wireless communication terminal network device function encapsulates the received control instruction into a preset instruction format
  • the device for implementing the function of the network device of the wireless communication terminal transmits the encapsulated control command to the wireless communication terminal through its first interface.
  • the device for implementing the function of the network device of the wireless communication terminal forwards the received control command to the host, including:
  • the implementing device of the wireless communication terminal network device function encapsulates the received control instruction into a preset instruction format
  • the device for implementing the function of the network device of the wireless communication terminal sends the encapsulated control command to the host through its second interface.
  • the preset instruction format includes, but is not limited to, an instruction format in a communication sub-protocol in the USB protocol or an instruction format in a Qualcomm QMI specification.
  • An embodiment of the present invention further provides an apparatus for implementing a function of a network device of a wireless communication terminal, including: An interface module, configured to receive and send a control instruction;
  • a processing module configured to determine a sender of the control command received by the interface module, if the sender of the control command is a host, forward the received control command to the wireless communication terminal by using the interface module;
  • the sender of the control command is a wireless communication terminal, and the received control command is forwarded to the host through the interface module.
  • the interface module is specifically configured to receive a socket request message, where the socket request message carries the control instruction and the sender of the control instruction;
  • the processing module is specifically configured to determine, according to the sender of the control command carried in the socket request message, a sender of the control instruction.
  • the interface module includes:
  • a first interface module configured to forward control signaling between the processing module and the wireless communication terminal
  • a second interface module configured to forward control signaling between the processing module and the host.
  • the processing module is further configured to encapsulate the control instruction received by the interface module into a preset instruction format, where the preset instruction format includes but is not limited to: an instruction format in a communication sub-protocol in the USB protocol. Or the instruction format in Qualcomm's QMI specification.
  • the processing module is specifically configured to: after determining that the sender of the control instruction is a host, send the encapsulated control instruction to the first interface module, so that the first interface module sends the encapsulated control instruction Sending to the wireless communication terminal; after determining that the sender of the control command is a wireless communication terminal, sending the encapsulated control command to the second interface module, so that the second interface module controls the package An instruction is sent to the host.
  • the device for implementing the function of the network device of the wireless communication terminal can implement information interaction between the wireless communication terminal and the host on the non-windows platform, thereby solving the problem that the network device function of the wireless communication terminal cannot be used on the non-windows platform. Make users free The network device function of the wireless communication terminal is used in different operating system environments.
  • FIG. 1 is a schematic flowchart of a method for implementing a function of a network device of a wireless communication terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for implementing a function of a network device of a wireless communication terminal according to an embodiment of the present invention
  • FIG. 3 is another schematic flowchart of a method for implementing a function of a network device of a wireless communication terminal according to an embodiment of the present invention. detailed description
  • the embodiment of the present invention is directed to the problem that the non-windows platform in the prior art cannot provide a mechanism for interacting with the wireless communication terminal for network data, and provides a method and device for implementing the function of the wireless communication terminal network device, which can be implemented in Network data interaction with wireless communication terminals on non-windows platforms.
  • FIG. 1 is a schematic flowchart of a method for implementing a function of a network device of a wireless communication terminal according to an embodiment of the present invention. As shown in FIG. 1, the embodiment includes:
  • Step 101 The device for implementing the function of the network device of the wireless communication terminal receives the control command, and determines the sender of the control command;
  • Step 102 If the sender of the control command is the host, the implementing device of the wireless communication terminal network device function forwards the received control command to the wireless communication terminal; if the sender of the control command is the wireless communication terminal, the wireless communication terminal network The device function implementation device forwards the received control command to the host.
  • the method for implementing the function of the network device of the wireless communication terminal of the embodiment can be implemented in non-windows
  • the information exchange between the wireless communication terminal and the host is implemented on the platform, thereby solving the problem that the network device function of the wireless communication terminal cannot be used on the non-windows platform, so that the user can freely use the wireless communication terminal in different operating system environments.
  • Network device features
  • FIG. 2 is a schematic structural diagram of an apparatus for implementing a function of a network device of a wireless communication terminal according to an embodiment of the present invention. As shown in FIG. 2, this embodiment includes:
  • the interface module 20 is configured to receive and send a control instruction
  • the processing module 21 is configured to determine the sender of the control command received by the interface module 20, and if the sender of the control command is the host, forward the received control command to the wireless communication terminal through the interface module 20; When the wireless communication terminal is the wireless communication terminal, the received control command is forwarded to the host through the interface module 20.
  • the interface module 20 is specifically configured to receive a socket (Socket) request message, and the sender that carries the control instruction and the control instruction in the socket request message;
  • the processing module 21 is specifically configured to determine, according to the sender of the control instruction carried in the socket request message, the sender of the control instruction.
  • the interface module 20 includes:
  • the first interface module 22 is configured to forward control signaling between the processing module and the wireless communication terminal
  • the second interface module 23 is configured to forward control signaling between the processing module and the host.
  • the processing module 21 is further configured to encapsulate the control instruction received by the interface module 20 into a preset instruction format, where the preset instruction format includes but is not limited to: a communication serial sub-protocol in a universal serial bus (USB) protocol.
  • the instruction format in the instruction format or the Qualcomm Modem Interface (Qualcomm Modem Interface) specification.
  • the processing module 21 is specifically configured to: after determining that the sender of the control command is the host, send the encapsulated control command to the first interface module 22, so that the first interface module 22 sends the encapsulated control command to the wireless communication terminal; After determining that the sender of the control command is the wireless communication terminal, sending the encapsulated control command to the second interface module 23, so that the second interface module 23 will be encapsulated The control instructions are sent to the host.
  • the device for implementing the function of the network device of the wireless communication terminal of the embodiment can implement the information interaction between the wireless communication terminal and the host on the non-windows platform, thereby solving the problem that the network device function of the wireless communication terminal cannot be used on the non-windows platform.
  • the user can freely use the network device function of the wireless communication terminal in different operating system environments.
  • the method for implementing the function of the network device of the wireless communication terminal according to the embodiment of the present invention is further described by using the wireless communication terminal as a data card as an example to implement the function of the network device function of the wireless communication terminal according to the embodiment of the present invention.
  • the device side software (product) of the data card enumerates the data card as a composite device, so that the data card has a network function device interface, and the firmware will be the data card.
  • Network function interface data such as message data, frame data, etc., is mapped to this network function interface.
  • a virtual device driver of the non-windows platform kernel layer is developed to perform the function of connecting the data card firmware and the non-windows platform operating system application layer program, that is, the device for implementing the data card network device function of the embodiment of the present invention.
  • the function of the first interface module the development of a non-windows platform application layer daemon process, so that it always runs, bears the function of real-time transmission and reception of network data and status, that is, the realization device of the data card network device function of the embodiment of the present invention
  • the function of the processing module develop a non-windows platform application layer function library (this application layer function library includes networking, network disconnection, parameter setting, status query and other functions), and provides various interfaces for the host side application to control the network device.
  • the application on the host side can operate the network device provided by the data card through the interface function provided by the application layer function library, These operations include but are not limited to Net, off net, query network status and so on.
  • the first interface module is a direct link between the host side and the data card, through which the network device control commands and data on the host side can be sent to the data card, and the data on the data card side is transmitted to the host side. These control commands include but not Limited to USB protocol The relevant instructions in the communication sub-protocol under discussion, in line with the various instructions of Qualcomm's QMI specification, and so on.
  • the processing module parses the received control instructions and performs packetization work of various control instructions and data, including but not limited to related instructions in the communication sub-protocol in the USB protocol, conforming to the Qualcomm QMI specification. Various instructions and so on.
  • the instruction data transmitted by the processing module can be encapsulated into a packet format recognizable by the host side by the second interface module, and provided to the application on the host side, where the packet format includes but is not limited to the communication sub-protocol in the USB protocol.
  • Related instructions various instructions conforming to Qualcomm's QMI specification, etc.
  • the data transmitted from the host side is encapsulated and provided to the processing module.
  • FIG. 3 is a schematic flowchart of a method for implementing a function of a network device of a wireless communication terminal according to an embodiment of the present invention when a wireless communication terminal is a data card. As shown in FIG. 3, the embodiment includes:
  • Step 301 The processing module receives the socket request message.
  • Step 302 The processing module determines the source of the socket request message. If the socket request message is from the second interface module, the process proceeds to step 303, where the socket request message is from the first Interface module, proceeds to step 304;
  • the socket request message carries the sender of the control command and the control command, and specifically, the sender of the control command carried in the socket request message determines the source of the socket request message;
  • Step 303 The processing module extracts the control instruction in the socket request message, and encapsulates the control instruction into a corresponding instruction format and sends the control instruction to the first interface module.
  • the socket request message is sent from the second interface module, then the socket request message is transmitted by the host side, indicating that the host needs to send the control instruction to the data card, and the processing module extracts the control instruction therein and encapsulates it into a corresponding Instruction format, including but not limited to related instructions in the communication sub-protocol in the USB protocol, various instructions conforming to the Qualcomm QMI specification, etc., and the encapsulated control instructions are sent to the first interface module, so that Pass The first interface module sends the encapsulated control commands to the data card.
  • Step 304 The processing module extracts the control instruction in the socket request message, and encapsulates the control instruction into a corresponding instruction format and sends the control instruction to the second interface module.
  • the socket request message is sent from the first interface module, then the socket request message is transmitted by the data card side, indicating that the data card needs to send the control instruction to the host, and the processing module extracts the control instruction therein and encapsulates it into Corresponding instruction formats, including but not limited to related instructions in the communication sub-protocol in the USB protocol, various instructions conforming to the Qualcomm QMI specification, etc., and the encapsulated control instructions are sent to the second interface module. In order to send the encapsulated control command to the host through the second interface module. The second interface module can also encapsulate the control instructions for the host to call.
  • the above steps describe in detail how the host and the data card interact with the control commands on the non-windows platform.
  • the data interaction between the host and the data card can be directly transmitted through the first interface module, the processing module, and the second interface module.
  • the device for implementing the data card network device function of the embodiment can implement information interaction between the data card and the host on the non-windows platform, thereby solving the problem that the network device function of the data card cannot be used on the non-windows platform, so that Users are free to use the network device functions of the data card in different operating system environments.
  • the method embodiment is corresponding to the device embodiment, and the portion not described in detail in the method embodiment may refer to the description of the relevant part in the device embodiment, and the partial reference method not described in detail in the device embodiment.
  • the description of the relevant parts in the embodiment can be.
  • the steps of the foregoing embodiments may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable storage medium.
  • the method includes the steps of the foregoing method embodiment, such as: a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM). Wait.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供一种无线通信终端网络设备功能的实现方法及装置,属于通信领域。其中,该无线通信终端网络设备功能的实现方法,包括:无线通信终端网络设备功能的实现装置接收控制指令,并判断所述控制指令的发送方;若所述控制指令的发送方为主机,则所述无线通信终端网络设备功能的实现装置将接收到的控制指令转发至无线通信终端;若所述控制指令的发送方为无线通信终端,则所述无线通信终端网络设备功能的实现装置将接收到的控制指令转发至主机。本发明的技术方案能够实现在非windows平台上和无线通信终端进行网络数据的交互。

Description

无线通信终端网络设备功能的实现方法及装置 技术领域
本发明涉及通信领域, 尤其涉及一种无线通信终端网络设备功能的实 现方法及装置。 背景技术
目前, 随着通讯 3G网络的迅猛发展, 用户不仅对移动网络的传统语音 服务提出了高要求, 而且对移动网络的无线数据服务也越来越重视。 3G数 据卡的应用也随之非常广泛。 现有的数据卡提供两种设备形态来与网络进 行数据交互: 一种是数据卡模拟成调制解调器设备; 另一种是数据卡模拟 成网络设备。
由于网络设备在带宽, 负载方面的优势, 第二种设备形态也就是数据 卡模拟成网络设备的形态越来越成为数据卡的主流用法。 但这种设备形态 目前只能在微软公司的视窗 ( windows ) 平台上使用, 无法在非 windows 平台, 如桌面 Linux, 嵌入式 Linux中使用。 原因在于非 windows平台无法 提供一种机制用来和数据卡进行网络数据的交互。 发明内容
本发明要解决的技术问题是提供一种无线通信终端网络设备功能的实 现方法及装置, 能够实现在非 windows平台上和无线通信终端进行网络数 据的交互。
为解决上述技术问题, 本发明的实施例提供技术方案如下:
一方面, 提供一种无线通信终端网络设备功能的实现方法, 包括: 无线通信终端网络设备功能的实现装置接收控制指令, 并判断所述控 制指令的发送方;
若所述控制指令的发送方为主机, 则所述无线通信终端网络设备功能 的实现装置将接收到的控制指令转发至无线通信终端;
若所述控制指令的发送方为无线通信终端, 则所述无线通信终端网络 设备功能的实现装置将接收到的控制指令转发至主机。
其中, 所述无线通信终端网络设备功能的实现装置接收控制指令, 并 判断所述控制指令的发送方包括:
所述无线通信终端网络设备功能的实现装置接收套接字请求消息, 所 述套接字请求消息中携带有所述控制指令和所述控制指令的发送方。
其中, 所述无线通信终端网络设备功能的实现装置将接收到的控制指 令转发至无线通信终端包括:
所述无线通信终端网络设备功能的实现装置将接收到的控制指令封装 为预设的指令格式;
所述无线通信终端网络设备功能的实现装置将封装后的控制指令通过 自身的第一接口发送至所述无线通信终端。
其中, 所述无线通信终端网络设备功能的实现装置将接收到的控制指 令转发至主机包括:
所述无线通信终端网络设备功能的实现装置将接收到的控制指令封装 为预设的指令格式;
所述无线通信终端网络设备功能的实现装置将封装后的控制指令通过 自身的第二接口发送至所述主机。
其中, 所述预设的指令格式包括但不限于: USB协议中通讯类子协议 中的指令格式或高通公司 QMI规范中的指令格式。
本发明实施例还提供了一种无线通信终端网络设备功能的实现装置, 包括: 接口模块, 用于接收和发送控制指令;
处理模块, 用于判断所述接口模块接收到的控制指令的发送方, 若所 述控制指令的发送方为主机, 则通过所述接口模块将接收到的控制指令转 发至无线通信终端; 若所述控制指令的发送方为无线通信终端, 则通过所 述接口模块将接收到的控制指令转发至主机。
其中, 所述接口模块具体用于接收套接字请求消息, 所述套接字请求 消息中携带有所述控制指令和所述控制指令的发送方;
所述处理模块具体用于根据所述套接字请求消息中携带的所述控制指 令的发送方判断所述控制指令的发送方。
其中, 所述接口模块包括:
第一接口模块, 用于在所述处理模块和所述无线通信终端之间转发控 制信令;
第二接口模块, 用于在所述处理模块和所述主机之间转发控制信令。 其中, 所述处理模块还用于将所述接口模块接收到的控制指令封装为 预设的指令格式, 所述预设的指令格式包括但不限于: USB协议中通讯类 子协议中的指令格式或高通公司 QMI规范中的指令格式。
其中, 所述处理模块具体用于在判断所述控制指令的发送方为主机后, 将封装后的控制指令发送至所述第一接口模块, 以便所述第一接口模块将 封装后的控制指令发送至所述无线通信终端; 在判断所述控制指令的发送 方为无线通信终端后, 将封装后的控制指令发送至所述第二接口模块, 以 便所述第二接口模块将封装后的控制指令发送至所述主机。
本发明的技术方案具有以下有益效果:
上述方案中,无线通信终端网络设备功能的实现装置能够在非 windows 平台上实现无线通信终端与主机之间的信息交互, 从而解决无线通信终端 的网络设备功能无法在非 windows平台上使用的问题, 使用户可以自由的 在不同的操作系统环境下使用无线通信终端的网络设备功能。 附图说明
图 1 为本发明的实施例无线通信终端网络设备功能的实现方法的流程 示意图;
图 2为本发明的实施例无线通信终端网络设备功能的实现装置的结构 示意图;
图 3 为本发明的实施例无线通信终端网络设备功能的实现方法的另一 流程示意图。 具体实施方式
为使本发明的实施例要解决的技术问题、 技术方案和优点更加清楚, 下面将结合附图及具体实施例进行详细描述。
本发明的实施例针对现有技术中非 windows平台无法提供一种机制用 来和无线通信终端进行网络数据的交互的问题, 提供一种无线通信终端网 络设备功能的实现方法及装置, 能够实现在非 windows平台上和无线通信 终端进行网络数据的交互。
图 1 为本发明的实施例无线通信终端网络设备功能的实现方法的流程 示意图, 如图 1所示, 本实施例包括:
步骤 101 : 无线通信终端网络设备功能的实现装置接收控制指令, 并判 断控制指令的发送方;
步骤 102: 若控制指令的发送方为主机, 则无线通信终端网络设备功能 的实现装置将接收到的控制指令转发至无线通信终端; 若控制指令的发送 方为无线通信终端, 则无线通信终端网络设备功能的实现装置将接收到的 控制指令转发至主机。
本实施例的无线通信终端网络设备功能的实现方法能够在非 windows 平台上实现无线通信终端与主机之间的信息交互, 从而解决无线通信终端 的网络设备功能无法在非 windows平台上使用的问题, 使用户可以自由的 在不同的操作系统环境下使用无线通信终端的网络设备功能。
图 2为本发明的实施例无线通信终端网络设备功能的实现装置的结构 示意图, 如图 2所示, 本实施例包括:
接口模块 20 , 用于接收和发送控制指令;
处理模块 21 , 用于判断接口模块 20接收到的控制指令的发送方, 若控 制指令的发送方为主机, 则通过接口模块 20将接收到的控制指令转发至无 线通信终端; 若控制指令的发送方为无线通信终端, 则通过接口模块 20将 接收到的控制指令转发至主机。
接口模块 20具体用于接收套接字 (Socket )请求消息, 套接字请求消 息中携带有控制指令和控制指令的发送方;
处理模块 21具体用于根据套接字请求消息中携带的控制指令的发送方 判断控制指令的发送方。
接口模块 20包括:
第一接口模块 22,用于在处理模块和无线通信终端之间转发控制信令; 第二接口模块 23 , 用于在处理模块和主机之间转发控制信令。
处理模块 21还用于将接口模块 20接收到的控制指令封装为预设的指 令格式,预设的指令格式包括但不限于:通用串行总线( Universal Serial Bus, USB ) 协议中通讯类子协议中的指令格式或高通公司 QMI ( Qualcomm Modem Interface, 高通调制解调器接口 )规范中的指令格式。
处理模块 21具体用于在判断控制指令的发送方为主机后, 将封装后的 控制指令发送至第一接口模块 22,以便第一接口模块 22将封装后的控制指 令发送至无线通信终端; 在判断控制指令的发送方为无线通信终端后, 将 封装后的控制指令发送至第二接口模块 23 ,以便第二接口模块 23将封装后 的控制指令发送至主机。
本实施例的无线通信终端网络设备功能的实现装置能够在非 windows 平台上实现无线通信终端与主机之间的信息交互, 从而解决无线通信终端 的网络设备功能无法在非 windows平台上使用的问题, 使用户可以自由的 在不同的操作系统环境下使用无线通信终端的网络设备功能。
下面结合本发明实施例的无线通信终端网络设备功能的实现装置, 以 无线通信终端为数据卡为例, 对本发明实施例的无线通信终端网络设备功 能的实现方法进行进一步介绍。
为了实现在非 windows平台上和数据卡进行网络数据的交互, 数据卡 的设备侧软件 ( firmware )将数据卡枚举为一个复合设备, 使数据卡具有一 个网络功能设备接口, firmware 将数据卡的网络功能接口数据, 如报文数 据、 帧数据等, 映射到这个网络功能接口。 之后开发一个非 windows平台 内核层的虚拟设备驱动程序, 使其承担连接数据卡 firmware和非 windows 平台操作系统应用层程序的功能, 也就是实现本发明实施例的数据卡网络 设备功能的实现装置中第一接口模块的功能; 开发一个非 windows平台应 用层的守护进程程序, 令其始终运行, 承担实时收发网络数据和状态的功 能, 也就是实现本发明实施例的数据卡网络设备功能的实现装置中处理模 块的功能; 开发一个非 windows平台的应用层函数库(这个应用层函数库 包括联网, 断网, 参数设置, 状态查询等函数), 提供给主机侧应用程序操 控网络设备的各种接口, 也就是实现本发明实施例的数据卡网络设备功能 的实现装置中第二接口模块的功能, 主机侧的应用程序能够通过该应用层 函数库提供的接口函数来操作数据卡提供的网络设备, 这些操作包括但不 限于联网、 断网、 查询网络状态等等。 第一接口模块是主机侧与数据卡的 直接纽带, 通过它能够将主机侧的网络设备控制指令和数据发送到数据卡, 同时将数据卡侧的数据传递到主机侧, 这些控制指令包括但不限于 USB协 议中的通讯类子协议中的相关指令, 符合高通公司 QMI规范的各种指令等 等。 处理模块对接收到的控制指令进行解析, 并进行各种控制指令和数据 的封包工作, 这些控制指令数据包括但不限于 USB协议中的通讯类子协议 中的相关指令, 符合高通公司 QMI规范的各种指令等等。 通过第二接口模 块能够将处理模块传来的指令数据封装为主机侧能识别的包格式, 向上提 供给主机侧的应用程序, 这些包格式包括但不限于 USB协议中的通讯类子 协议中的相关指令, 符合高通公司 QMI规范的各种指令等等, 同时, 将主 机侧传下来的数据封装后提供给处理模块。
图 3 为无线通信终端为数据卡时, 本发明的实施例无线通信终端网络 设备功能的实现方法的流程示意图, 如图 3所示, 本实施例包括:
步骤 301: 处理模块接收到 socket请求消息;
当主机侧系统开机后, 处理模块判断是否接收到 socket请求消息; 步骤 302: 处理模块判断 socket请求消息的来源,若 socket请求消息来 自第二接口模块, 转向步骤 303 , 若 socket请求消息来自第一接口模块, 转 向步骤 304;
若接收到 socket请求消息, 该 socket请求消息中携带有控制指令和控 制指令的发送方, 具体地可以通过该 socket请求消息中携带的控制指令的 发送方判断该 socket请求消息的来源;
步骤 303: 处理模块提取 socket请求消息中的控制指令,将控制指令封 装成相应的指令格式发送给第一接口模块。
如果该 socket请求消息是从第二接口模块发出的, 那么则 socket请求 消息是由主机侧传递过来的, 说明主机需要将控制指令发送给数据卡, 处 理模块提取其中的控制指令, 并封装成相应的指令格式, 这些指令格式包 括但不限于 USB协议中的通讯类子协议中的相关指令,符合高通公司 QMI 规范的各种指令等等, 将已封装的控制指令发给第一接口模块, 以便通过 第一接口模块将已封装的控制指令发送给数据卡。
步骤 304: 处理模块提取 socket请求消息中的控制指令,将控制指令封 装成相应的指令格式发送给第二接口模块。
如果该 socket请求消息是从第一接口模块发出的, 那么则 socket请求 消息是由数据卡侧传递过来的, 说明数据卡需要将控制指令发送给主机, 处理模块提取其中的控制指令, 并封装成相应的指令格式, 这些指令格式 包括但不限于 USB 协议中的通讯类子协议中的相关指令, 符合高通公司 QMI规范的各种指令等等, 将已封装的控制指令发给第二接口模块, 以便 通过第二接口模块将已封装的控制指令发送给主机。 第二接口模块也可以 对控制指令进行封装, 方便主机调用。
上述步骤详细描述了在非 windows平台上主机和数据卡如何进行控制 指令的交互, 主机和数据卡之间数据的交互可直接通过第一接口模块、 处 理模块和第二接口模块进行透传。 通过本实施例的数据卡网络设备功能的 实现装置, 能够在非 windows平台上实现数据卡与主机之间的信息交互, 从而解决数据卡的网络设备功能无法在非 windows平台上使用的问题, 使 用户可以自由的在不同的操作系统环境下使用数据卡的网络设备功能。
所述方法实施例是与所述装置实施例相对应的, 在方法实施例中未详 细描述的部分参照装置实施例中相关部分的描述即可, 在装置实施例中未 详细描述的部分参照方法实施例中相关部分的描述即可。
本领域普通技术人员可以理解, 实现上述实施例方法中的全部或部分 步骤是可以通过程序来指令相关的硬件来完成, 所述的程序可以存储于一 计算机可读取存储介质中, 该程序在执行时, 包括如上述方法实施例的步 骤,所述的存储介质,如:磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体 ( Random Access Memory, RAM )等。
在本发明各方法实施例中, 所述各步骤的序号并不能用于限定各步骤 的先后顺序, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提 下, 对各步骤的先后变化也在本发明的保护范围之内。
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明所述原理的前提下, 还可以作出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。

Claims

权利要求书
1. 一种无线通信终端网络设备功能的实现方法, 其特征在于, 该方法 包括:
无线通信终端网络设备功能的实现装置接收控制指令, 并判断所述控 制指令的发送方;
若所述控制指令的发送方为主机, 则所述无线通信终端网络设备功能 的实现装置将接收到的控制指令转发至无线通信终端;
若所述控制指令的发送方为无线通信终端, 则所述无线通信终端网络 设备功能的实现装置将接收到的控制指令转发至主机。
2. 根据权利要求 1所述的无线通信终端网络设备功能的实现方法, 其 特征在于, 所述无线通信终端网络设备功能的实现装置接收控制指令, 并 判断所述控制指令的发送方包括:
所述无线通信终端网络设备功能的实现装置接收套接字请求消息, 所 述套接字请求消息中携带有所述控制指令和所述控制指令的发送方 , 所述 无线通信终端网络设备功能的实现装置依据所述套接字请求消息来判断所 述控制指令的发送方。
3. 根据权利要求 1所述的无线通信终端网络设备功能的实现方法, 其 特征在于, 所述无线通信终端网络设备功能的实现装置将接收到的控制指 令转发至无线通信终端包括:
所述无线通信终端网络设备功能的实现装置将接收到的控制指令封装 为预设的指令格式;
所述无线通信终端网络设备功能的实现装置将封装后的控制指令通过 自身的第一接口发送至所述无线通信终端。
4. 根据权利要求 1所述的无线通信终端网络设备功能的实现方法, 其 特征在于, 所述无线通信终端网络设备功能的实现装置将接收到的控制指 令转发至主机包括:
所述无线通信终端网络设备功能的实现装置将接收到的控制指令封装 为预设的指令格式;
所述无线通信终端网络设备功能的实现装置将封装后的控制指令通过 自身的第二接口发送至所述主机。
5.根据权利要求 3或 4所述的无线通信终端网络设备功能的实现方法, 其特征在于, 所述预设的指令格式包括但不限于: 通用串行总线 USB协议 中通讯类子协议中的指令格式或高通调制解调器接口 QMI规范中的指令格 式。
6. 一种无线通信终端网络设备功能的实现装置, 其特征在于, 包括: 接口模块, 用于接收和发送控制指令;
处理模块, 用于判断所述接口模块接收到的控制指令的发送方, 若所 述控制指令的发送方为主机, 则通过所述接口模块将接收到的控制指令转 发至无线通信终端; 若所述控制指令的发送方为无线通信终端, 则通过所 述接口模块将接收到的控制指令转发至主机。
7. 根据权利要求 6所述的无线通信终端网络设备功能的实现装置, 其 特征在于,
所述接口模块具体用于接收套接字请求消息, 所述套接字请求消息中 携带有所述控制指令和所述控制指令的发送方;
所述处理模块具体用于根据所述套接字请求消息中携带的所述控制指 令的发送方判断所述控制指令的发送方。
8. 根据权利要求 6所述的无线通信终端网络设备功能的实现装置, 其 特征在于, 所述接口模块包括:
第一接口模块, 用于在所述处理模块和所述无线通信终端之间转发控 制信令; 第二接口模块, 用于在所述处理模块和所述主机之间转发控制信令。
9. 根据权利要求 6所述的无线通信终端网络设备功能的实现装置, 其 特征在于, 所述处理模块还用于将所述接口模块接收到的控制指令封装为 预设的指令格式, 所述预设的指令格式包括但不限于: USB协议中通讯类 子协议中的指令格式或 QMI规范中的指令格式。
10. 根据权利要求 8或 9所述的无线通信终端网络设备功能的实现装 置, 其特征在于,
所述处理模块具体用于在判断所述控制指令的发送方为主机后, 将封 装后的控制指令发送至所述第一接口模块, 以便所述第一接口模块将封装 后的控制指令发送至所述无线通信终端; 在判断所述控制指令的发送方为 无线通信终端后, 将封装后的控制指令发送至所述第二接口模块, 以便所 述第二接口模块将封装后的控制指令发送至所述主机。
PCT/CN2010/077208 2010-08-11 2010-09-21 无线通信终端网络设备功能的实现方法及装置 Ceased WO2012019376A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US13/580,545 US9078282B2 (en) 2010-08-11 2010-09-21 Method and apparatus for implementing network device function of wireless communication terminal
EP10855797.6A EP2530995B1 (en) 2010-08-11 2010-09-21 Method and apparatus for implementing network device function of wireless communication terminal
AU2010358986A AU2010358986B2 (en) 2010-08-11 2010-09-21 Method and apparatus for implementing network device function of wireless communication terminal
CA2790782A CA2790782C (en) 2010-08-11 2010-09-21 Method and apparatus for implementing network device function of wireless communication terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010251163.9 2010-08-11
CN201010251163.9A CN101917780B (zh) 2010-08-11 2010-08-11 无线通信终端网络设备功能的实现方法及装置

Publications (1)

Publication Number Publication Date
WO2012019376A1 true WO2012019376A1 (zh) 2012-02-16

Family

ID=43325132

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077208 Ceased WO2012019376A1 (zh) 2010-08-11 2010-09-21 无线通信终端网络设备功能的实现方法及装置

Country Status (6)

Country Link
US (1) US9078282B2 (zh)
EP (1) EP2530995B1 (zh)
CN (1) CN101917780B (zh)
AU (1) AU2010358986B2 (zh)
CA (1) CA2790782C (zh)
WO (1) WO2012019376A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10091251B2 (en) * 2013-04-04 2018-10-02 Nvidia Corporation Establishing communications
CN106850554B (zh) * 2016-12-22 2019-12-17 广州视源电子科技股份有限公司 双系统定向连接的方法和装置
CN111343257B (zh) * 2020-02-17 2022-09-06 深圳市广和通无线股份有限公司 基于预设数据指令的数据处理方法、装置、设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114558A1 (en) * 2003-11-21 2005-05-26 Zhi-Heng Nian Computer peripheral device for communicating with a computer via wireless network
CN101588378A (zh) * 2009-06-17 2009-11-25 深圳华为通信技术有限公司 利用数据卡上网的方法、数据卡及系统
CN101729557A (zh) * 2009-11-17 2010-06-09 中兴通讯股份有限公司 一种实现终端设备资源共享的方法及系统
CN101739364A (zh) * 2009-12-08 2010-06-16 中兴通讯股份有限公司 一种基于usb接口的通信设备及实现业务配置的方法
CN101764695A (zh) * 2009-12-07 2010-06-30 中兴通讯股份有限公司 一种数据卡及其数据传输方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6785730B1 (en) * 1999-02-16 2004-08-31 Rebecca S. Taylor Generic communications protocol translator
US7054925B2 (en) * 2001-11-21 2006-05-30 International Business Machines Corporation Efficient method for determining record based I/O on top of streaming protocols
CN100524188C (zh) * 2004-04-22 2009-08-05 钟巨航 对外存储器在接口转换中进行虚拟分隔的装置
US7688792B2 (en) * 2005-04-21 2010-03-30 Qualcomm Incorporated Method and apparatus for supporting wireless data services on a TE2 device using an IP-based interface
US7974577B2 (en) * 2006-04-11 2011-07-05 Tazzle, Inc. Devices and systems for improved wireless communication
KR100773444B1 (ko) * 2006-10-09 2007-11-05 삼성전자주식회사 휴대 단말의 외부 연결 인터페이스 에뮬레이션 장치 및방법
CN100563355C (zh) * 2007-04-10 2009-11-25 华为技术有限公司 一种通信方法、设备及系统
US8086781B2 (en) * 2007-06-22 2011-12-27 Apple Inc. Serial pass-through device
TWI421768B (zh) * 2008-09-22 2014-01-01 Asustek Comp Inc 具行動通信的電子裝置及其控制方法
CN101630191B (zh) * 2009-08-26 2011-08-24 中兴通讯股份有限公司 一种实现通用串行总线调制解调器设备节电的装置及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050114558A1 (en) * 2003-11-21 2005-05-26 Zhi-Heng Nian Computer peripheral device for communicating with a computer via wireless network
CN101588378A (zh) * 2009-06-17 2009-11-25 深圳华为通信技术有限公司 利用数据卡上网的方法、数据卡及系统
CN101729557A (zh) * 2009-11-17 2010-06-09 中兴通讯股份有限公司 一种实现终端设备资源共享的方法及系统
CN101764695A (zh) * 2009-12-07 2010-06-30 中兴通讯股份有限公司 一种数据卡及其数据传输方法
CN101739364A (zh) * 2009-12-08 2010-06-16 中兴通讯股份有限公司 一种基于usb接口的通信设备及实现业务配置的方法

Also Published As

Publication number Publication date
CA2790782A1 (en) 2012-02-16
CA2790782C (en) 2016-09-13
US20120317263A1 (en) 2012-12-13
EP2530995A1 (en) 2012-12-05
CN101917780B (zh) 2015-05-20
AU2010358986A1 (en) 2012-09-20
AU2010358986B2 (en) 2014-05-01
CN101917780A (zh) 2010-12-15
EP2530995A4 (en) 2017-12-27
US9078282B2 (en) 2015-07-07
EP2530995B1 (en) 2020-02-12

Similar Documents

Publication Publication Date Title
US10986171B2 (en) Method for unified communication of server, baseboard management controller, and server
US8442509B2 (en) System and method for managing a wireless device from removable media with processing capability
US10868767B2 (en) Data transmission method and apparatus in optoelectronic hybrid network
WO2023284732A1 (zh) 基于Linux内核的协议栈数据传输方法及装置
JP5367717B2 (ja) プラットフォーム間で通信を行なう技術
CN101616088B (zh) 一种虚拟网口的实现方法及实现虚拟网口的嵌入式设备
CN105591672A (zh) 基于nfc的通信方法和装置
CN101764695B (zh) 一种数据卡及其数据传输方法
CA2547204A1 (en) Inter-processor parameter management in a multiple-processor wireless mobile communication device operating on a processor specific communication network
CN102323892B (zh) 移动宽带设备的数据处理方法及驱动装置
WO2012019376A1 (zh) 无线通信终端网络设备功能的实现方法及装置
CN106845974A (zh) 一种实现近场通信的点对点通信的方法及装置
CN221709849U (zh) 通信系统以及电子设备
CN115022424B (zh) 水电lcu控制器网卡虚拟控制方法、系统、设备及其介质
CN100391150C (zh) 数据传送装置及数据传送方法
US20130198548A1 (en) Apparatus and method for saving power of usb device
CN115037795B (zh) 一种嵌入式设备多机通信方法
CN112905303B (zh) 一种基于有线网卡的无感知网络桥接方法及其装置
CN203243351U (zh) 具有近场通信功能的路由器和近场通信系统
JP5463325B2 (ja) 無線アクセスモジュール、データカード、及び無線アクセスモジュールとホストとの間の通信の方法
WO2010086712A2 (en) System and method for managing a wireless device from removable media with processing capability
CN102801746A (zh) 一种共享移动终端网络的方法及系统
WO2015051667A1 (zh) 一种基于数据卡的数据传输方法和装置
CN108235822A (zh) 虚拟sim卡的实现方法及装置、存储介质、电子设备
CN108322616A (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: 10855797

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2790782

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 13580545

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2010358986

Country of ref document: AU

WWE Wipo information: entry into national phase

Ref document number: 2010855797

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2010358986

Country of ref document: AU

Date of ref document: 20100921

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE