WO2024022017A1 - Wireless network card and wireless communication method for host - Google Patents

Wireless network card and wireless communication method for host Download PDF

Info

Publication number
WO2024022017A1
WO2024022017A1 PCT/CN2023/104356 CN2023104356W WO2024022017A1 WO 2024022017 A1 WO2024022017 A1 WO 2024022017A1 CN 2023104356 W CN2023104356 W CN 2023104356W WO 2024022017 A1 WO2024022017 A1 WO 2024022017A1
Authority
WO
WIPO (PCT)
Prior art keywords
host
interface
wireless
network
module
Prior art date
Application number
PCT/CN2023/104356
Other languages
French (fr)
Chinese (zh)
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 WO2024022017A1 publication Critical patent/WO2024022017A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks

Definitions

  • the present application relates to the field of mobile electronic devices, and more specifically, to a wireless network card and a wireless communication method for a host.
  • the multi-network card solution equips each operating system of the host with an independent network card to meet the needs of network access.
  • the hardware design of such a solution is complex. Degree, power consumption and cost are all higher.
  • Another solution that uses a virtual network card is that a main operating system is responsible for loading the actual network card driver, and other operating systems create virtual network card drivers. The virtual network card forwards network access data to the host through the IPC (Inter-Process Communication) function of the operating system.
  • IPC Inter-Process Communication
  • the actual network card acts as an agent for sending and receiving data on the operating system, but the virtual network card solution relies on the operating system's own IPC capabilities and device virtualization capabilities, and the main operating system needs to stay awake to meet the data forwarding needs of other operating systems, so the system implements , software and hardware costs and overall power consumption are high.
  • the present application is provided to address the above-mentioned deficiencies existing in the prior art. What is needed is a wireless network card and a wireless communication method for a host.
  • the wireless network card can enable at least two host systems of the host to share the same set of wireless network cards. Each host system can access the network independently or simultaneously through the wireless network card. , and when one host system accesses the network, there is no need to wake up other host systems. Therefore, while having lower hardware costs, it also has lower multi-host system network access power consumption.
  • a wireless network card for a host includes at least two host systems. Each of the at least two host systems has the same or different operating systems.
  • the wireless network card includes a lower computer module, a chip firmware and at least two upper computer drive modules, wherein the at least two upper computer drive modules correspond to each host system in a one-to-one manner.
  • Each host computer driver module is configured to provide the corresponding host system with a driver that matches the type of the host interface of the host system.
  • the lower computer module is configured to create an independent lower computer driver instance for each host interface, and allocate an exclusive wireless link layer management interface to each lower computer driver instance.
  • the lower computer module may also be configured to provide loading/unloading of driver instances and management of configuration information for each host system via the host interface of each host system, and synchronize status information and network information to each host system.
  • the lower computer module may also be configured to use each lower computer driver instance to process the network access information issued through the corresponding host interface, and communicate with the chip through the allocated wireless link layer management interface for exclusive use.
  • the processed network access information and the response information of the network access information are transmitted between the firmwares.
  • the chip firmware is configured to: create a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface; and transmit the network access information to the wireless access point.
  • the response information is sent to the lower computer module via the corresponding wireless link layer management interface.
  • a wireless communication method for a host is provided, which is suitable for wireless network cards.
  • the host includes at least two host systems, each of the at least two host systems having the same or different Operating system, the wireless network card includes a lower computer module, chip firmware and at least two host computer drive modules, wherein the at least two host computer drive modules correspond to each host system one-to-one.
  • Each host computer driver module may provide a driver program matching the type of the host interface of the host system for the corresponding host system.
  • the lower computer module can create an independent lower computer driver instance for each host interface, and assign an exclusive wireless link layer management interface to each lower computer driver instance.
  • the lower computer module can also provide loading/unloading of driver instances and management of configuration information for each host system through the host interface of each host system, and synchronize status information and network information to each host system.
  • Each lower computer driver instance can also process the network access information issued through the corresponding host interface, and communicate with the chip firmware through the allocated wireless link layer management interface for exclusive use. Transmission of access information and response information to the network access information.
  • the chip firmware can create corresponding wireless network interfaces for each wireless link layer management interface, so that the processed network access information is sent through the corresponding network interface. Send the response information to the wireless access point; and send the response information of the network access information to the lower computer module via the corresponding wireless link layer management interface.
  • the wireless network card and wireless communication method for the host provided by various embodiments of the present application provide independent host computer driver modules for each host system of the host, and are used for program drivers of each host system, so that the wireless network can be applied to each host system.
  • the host system has the same or different operating system.
  • the lower computer module in the wireless network card has a host interface corresponding to each host system. Each host interface corresponds to an independent lower computer driver instance.
  • the lower computer driver instance uses an exclusive wireless link layer management interface to enable each host.
  • the system's network access information interacts with the wireless access point via the chip firmware in the wireless network card. In this way, each host system can use the software and hardware on the same wireless network card to access the network independently or simultaneously without conflict.
  • the host computer module and the slave computer module can independently handle the network access of each host system, they can access the network in a single or simultaneous manner. When some host systems access the network, other host systems do not need to wake up if they are in a dormant state. Therefore, on the basis of low hardware costs, the power consumption of multi-host systems accessing the network can be further reduced.
  • Figure 1 shows a schematic structural diagram of a wireless network card for a host according to an embodiment of the present application
  • Figure 2 shows a schematic diagram of the processing process of the lower computer module according to the embodiment of the present application
  • Figure 3 shows a schematic structural diagram of a wireless network card for a host according to another embodiment of the present application
  • FIG. 4 shows a functional schematic diagram of the driver instance management submodule according to an embodiment of the present application
  • Figure 5 shows a schematic structural diagram of a wireless network card for a host according to yet another embodiment of the present application.
  • Figure 6 shows a schematic workflow diagram of a wireless communication method for a host according to an embodiment of the present application.
  • Figure 1 shows a schematic structural diagram of a wireless network card for a host according to an embodiment of the present application.
  • the host may include, for example, a computer (including a laptop, a tablet, etc.), a mobile electronic device such as a smart phone or a smart watch.
  • the host 100 may include at least two host systems, for example, it may include a first host system 110a, a second host system 110b, ..., an nth host system 110n, wherein, for example, the first host system 110a has a first The operating system 111a, the second host system 110b has the second operating system 111b,..., the nth host system 110n has the nth operating system 111n, each of the above operating systems can be an Android operating system, a Linux operating system, an RTOS operating system, etc., and They may be the same or different from each other.
  • the first operating system 111a may be an IOS operating system
  • the second host system 110b may be a Windows operating system, etc., which are not listed here.
  • the host can set the usage modes of multiple host systems according to different requirements in terms of power consumption index requirements, programs to be run, differences in running performance, etc.
  • the host 100 can use systems with different operating systems in a switching manner. Host system to meet the various needs as mentioned above, or multiple host systems can be run simultaneously as needed to execute different programs and tasks in parallel.
  • the wireless network card 200 communicates with each host system through one-to-one corresponding host interfaces.
  • the host interface includes a first host interface 210a that is correspondingly connected to the first host system 110a, and a second host system 110b.
  • the second host interfaces 210b, . . . corresponding to the communication connection correspond to the n-th host interface 210n corresponding to the communication connection to the n-th host system 110n.
  • the host interface may be of different types, for example, it may be one of USB, SDIO, SPI, UART, and PCIE, and the host interface types of each host system may be the same or different.
  • the wireless network card 200 may include a lower computer module 230, a chip firmware 250, and at least two upper computer drive modules, where the at least two upper computer drive modules correspond to each host system one-to-one.
  • the first host system 110a corresponds to the first host computer drive module 220a
  • the second host system 110b corresponds to the second host computer drive module 220b
  • the nth host system 110n corresponds to the nth host computer drive module 220n.
  • Each host computer driver module is configured to provide the corresponding host system with a driver that matches the type of the host interface of the host system.
  • the corresponding host computer driver module can provide a driver that matches the type of its host interface, so that different host systems can drive wireless network cards for network access.
  • the wireless network card according to the embodiment of the present application can not only support independent or simultaneous network access of multiple host systems, but can also maintain low overall power consumption.
  • Figure 2 shows a schematic diagram of the processing process of the lower computer module according to the embodiment of the present application.
  • the slave computer module can create an independent slave computer driver instance for each host interface, and assign an exclusive wireless link layer to each slave computer driver instance.
  • Management interface Referring to Figure 5, for example, the first host interface 210a corresponds to the first lower computer driver instance 232a and the first wireless link layer management interface 240a, and the second host interface 210b corresponds to the second lower computer driver instance 232b and the second wireless link.
  • the layer management interface 240b and the n-th host interface 210n correspond to the n-th lower computer driver instance 232n and the n-th wireless link layer management interface 240n. In this way, each lower computer driver instance can transfer network data from each host system through the corresponding host interface.
  • Access information is sent to the wireless link layer through the exclusively used wireless link layer management interface.
  • the corresponding slave computer driver instance can be unregistered from the slave computer module.
  • each driver instance has an exclusive wireless link layer management interface, so that the network access requirements of each host system can be responded to in a more timely and independent manner, and Multi-host systems that use virtual machines to access the network have better flexibility and do not have to wake up the entire host because one or part of the host system accesses the network. Therefore, it has lower overall power consumption and can be used in the host system (for example, for a long time). ) stops accessing the network, the lower computer driver instance can also be logged out, thus further reducing power consumption and software and hardware complexity.
  • step 2302 loading/unloading of driver instances and management of configuration information can be provided for each host system through the host interface of each host system, and status information and network information can be synchronized to each host system.
  • the lower computer module 230 can provide loading driver instances for each host system to complete the process of network access, and can uninstall the driver instance when the need for network access is completed.
  • the driver instances of each host system can be loaded and unloaded independently, thereby realizing the requirement of independent network access for each host system.
  • the lower computer module 230 provides management of configuration information, so that each host system can perform network access according to its respective configuration information.
  • the lower computer module 230 in response to the network access requirements of each host system, can also synchronize status information and network information to each host system, where the status information can include hardware status, wireless channel status Status, etc., network information may include, for example, download process information, network notification messages, etc., so that each host system can update various information based on the above information, or adjust system configuration, switch access networks, etc.
  • each lower computer driver instance can process the network access information issued through the corresponding host interface, and communicate with the chip firmware through the allocated wireless link layer management interface for exclusive use.
  • the processed network access information and the response information of the network access information are transmitted between.
  • the slave computer module is a slave computer driver instance created for each host. It is responsible for processing the network access information issued by the host interface of each host system, and then transmits it to the chip firmware through the exclusive wireless link layer management interface.
  • the chip firmware receives The response information of the received network access information is transmitted to the lower computer driver instance through the exclusive wireless link layer management interface. In this way, the lower computer module part can complete the information processing process in the network access process of each host system.
  • the chip firmware 250 is configured to: create a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface. 300; and sending the response information of the network access information to the lower computer module 230 via the corresponding wireless link layer management interface.
  • the first wireless link layer management interface 240a corresponds to the first wireless network interface 251a in the chip firmware 250
  • the second wireless link layer management interface 240b corresponds to the second wireless network interface 251b in the chip firmware 250
  • the management interface 240n corresponds to the nth wireless network interface 251n in the chip firmware 250.
  • the chip firmware 250 receives the network access information transmitted by the wireless link layer management interface and sends it to the wireless access point 300 through the corresponding wireless network interface.
  • the response information of the network access information returned by the wireless access point 300 is transmitted through the wireless network interface.
  • the chip firmware 250 and then the chip firmware 250 is sent to the lower computer module 230 through the corresponding wireless link layer management interface.
  • each wireless network interface may access the same wireless access point 300 or different wireless access points 300.
  • Each of the above host systems communicates with the same wireless network card through corresponding host interfaces, and the host computer driver module provides matching drivers according to different types of host interfaces.
  • the processing process of the above-mentioned lower computer module can realize independent network access processing processes from each host system on the host side, so the network access processes of each host system are independent of each other, meeting the needs of multiple host systems for network access at the same time or at different times, such as There are three host systems on the host side.
  • the three host systems or any two of them can have network access at the same time, or the three host systems No separate network access at the same time. For example, you can start the Linux operating system when the operating performance requirements are high, and choose to switch to start the RTOS operating system in standby mode.
  • the RTOS operating system can provide network access through the wireless network card to meet the timely update of network information in standby mode. . Therefore, one wireless network card can be used to cooperate with multiple host systems for network access.
  • the network access processes of each host system are not affected by each other, which can reduce the cost and power consumption of the host side. Since the hardware part only needs to set up the corresponding host interface, data link layer management interface, and chip firmware to realize the transmission of corresponding data, it can also reduce the complexity of the hardware design of the wireless network card.
  • the network access requirements of each host system are centrally processed through the host computer module and the slave computer module. There is no need to set up separate processing modules for network access requirements for each host system. Therefore, the hardware and software design of the wireless network card can reduce costs and power consumption. .
  • FIG. 3 shows a schematic structural diagram of a wireless network card for a host according to another embodiment of the present application.
  • the host 100 includes a first host system 110a, a second host system 110b, and an nth host system 110n.
  • the first host system 110a includes a first operating system 111a
  • the second host system 110b includes a second operating system 111b
  • the nth host system 110n includes an nth operating system 111n.
  • the first host system 110a corresponds to the first host interface 210a of the wireless network card 200, the first host computer driver module 220a, the first wireless link layer management interface 240a, and the first wireless network interface 251a of the chip firmware 250;
  • the second host system 110b Corresponds to the second host interface 210b of the wireless network card 200, the second host computer driver module 220b, the second wireless link layer management interface 240b, and the second wireless network interface 251b of the chip firmware 250;
  • the nth host system 110n corresponds to the wireless network card 200.
  • the nth host interface 210n, the nth host computer driver module 220n, the nth wireless link layer management interface 240n, and the nth wireless network interface 251n of the chip firmware 250 corresponds to the wireless network card 200.
  • the wireless network card includes a lower computer module 230.
  • the lower computer module 230 includes a driver instance management sub-module 231.
  • the lower computer module 230 creates an independent lower computer driver instance for each host interface.
  • the first host system 110a corresponds to the first lower computer driver instance 232a
  • the second host system 110b corresponds to the second lower computer driver instance 232b
  • the nth host system 110n Corresponds to the nth slave computer driver instance 232n.
  • the slave computer module 230 creates an independent slave computer driver instance for each host interface. After the host system's network access request ends, the corresponding slave computer driver instance is logged out from the slave computer module.
  • Each wireless network interface in the chip firmware 250 is respectively connected to the wireless access point 300 for communication.
  • the driver instance management submodule is set up in the lower computer module of the wireless network card shown in Figure 3, which can facilitate the loading/unloading of the lower computer driver instances of each host system and the interaction of information with each host system.
  • the driver The functions of the instance management submodule are shown in Figure 4.
  • FIG. 4 shows a functional schematic diagram of the driver instance management submodule according to an embodiment of the present application.
  • the lower computer module is further configured as a management function 401 implemented by the driver instance management sub-module 400.
  • the driver instance management sub-module provides loading/unloading of driver instances for each host system through the host interface of each host system. .
  • Management function 402 manages network configuration information and sleep/wake request information of each host system.
  • Management function 403 is to synchronize common hardware status information to the host computer driver module. Through the management function 403, the host computer driver module is fed back the hardware status used for network connection, such as the status of the hardware and the status of the wireless channel.
  • the hardware status includes information such as the hardware initialization status.
  • the hardware can include the host interface and wireless link management.
  • the management function 404 synchronizes the currently connected network information to each host system. Through the management function 404, relevant information of the currently connected network is synchronized, such as the currently connected network transmission process and other information, and each host system on the host side makes a choice of which network to connect to or further processes the network connection hardware.
  • the separate management process of each system through a separate driver instance management sub-module can meet the network access requests of each system.
  • the time of network access in part or all of each system is the same or not at the same time, or part of each system in each system Or all connected wireless access points are the same or different at the same time, etc., which can facilitate independent network access for each system.
  • the lower computer module is further configured to: monitor the sleep state/awake state of the operating system of each host system by the driver instance management sub-module.
  • the lower computer module When the operating system of each host system is When entering the sleep state, the lower computer module enters the sleep mode; when the operating system of at least one of the host systems enters the wake-up state, the lower computer module enters the wake-up mode.
  • the operating system of one or part of the host systems When the operating system of one or part of the host systems enters the sleep state, network access will not be performed. However, one or part of the operating systems that have not entered the sleep state can also perform network access.
  • the lower computer module remains awake to meet the requirements. Network access requirements. Only when the operating systems of all host systems enter the sleep state, and all operating systems do not need network access at this time, can the slave computer module enter the sleep state. In this way, the slave computer module can maintain network access to any host system. Need prompt response and quick processing.
  • Figure 5 shows a schematic structural diagram of a wireless network card for a host according to yet another embodiment of the present application.
  • the host computer 100, the slave computer module 230, and the chip firmware 250 have similar structural settings and connection conditions to those in Figure 1.
  • the lower computer module also includes a driving instance sub-module 232.
  • the network access information at least includes commands and/or data.
  • the lower computer module is further configured to: use the driving instance sub-module 232.
  • Module 232 creates an independent lower computer driver instance for each host interface, and allocates an exclusive wireless link layer management interface to each lower computer driver instance.
  • the first slave computer driver instance 232a corresponding to the first host interface 210a
  • the second slave computer driver instance 232b corresponding to the second host interface 210b
  • the nth slave computer driver instance 232n corresponding to the nth host interface 210n.
  • the first slave computer driver instance 232a corresponds to the first wireless link layer management interface 240a
  • the second slave computer driver instance 232b corresponds to the second wireless link layer management interface 240b
  • the n lower computer driver instance 232n corresponds to the nth wireless link layer management interface 240n.
  • each lower computer driver instance can be pre-created by the driver instance management sub-module and then stored in the lower computer module.
  • each driver instance of the lower computer can be created through the driver instance management sub-module when each host system issues a network access request, and then loaded and used by the driver instance management sub-module. , after the network access requirement is completed, uninstall through the driver instance management sub-module.
  • each driver instance pre-created by the lower computer module can be matched and bound to each host system in advance, or the driver instances of the lower computer can also be allocated based on the matching and occupancy of the host interface type.
  • Each host system is assigned an exclusive driver instance of the lower computer for each network access. Through pre-matching and binding, during the host system network access process, different driver instances can be directly loaded according to different host systems in the host. Setting up the driver instance management submodule in the lower computer module can facilitate the creation of independent lower computer driver instances based on the host interfaces of each host system, making it easier for each host system to access the network independently or simultaneously.
  • the lower computer module is further configured to: use the lower computer driver instance to process commands issued via the corresponding host interface and/or or data is processed, and the processed commands and/or data, as well as the response information of the commands and/or data are transmitted between the chip firmware and the assigned exclusive use wireless link layer management interface.
  • Each host system has the same or different requirements for network access.
  • Each lower computer driver instance independently processes commands/or data so that the commands/data of each host system can be processed independently. Or the data can be processed separately to avoid mutual interference between processing processes.
  • other lower computer driver instances may be in a working state or in an unloaded state. Therefore, the wireless network card of this application can not only complete the independent network access requirements of multiple host systems, but also has Lower power consumption.
  • each wireless network interface is connected to the same or different wireless access point, and the chip firmware is further configured to: create a corresponding wireless network interface for each wireless link layer management interface, so that the processed network Access information is sent to the same or different wireless access points via corresponding network interfaces.
  • the wireless network interface can choose to connect to the same or different wireless access points for network access.
  • each host system can connect to the wireless access point based on the same configuration information.
  • each host system can connect to different wireless access points based on different network configuration information. For example, there are two wireless access points, and the host has two host systems. The two host systems can choose to connect to different wireless access points respectively, or the signal transmission status of one wireless access point is relatively good, then the two host systems can choose to connect to different wireless access points. Each host system can connect to this wireless access point with better signal transmission status.
  • each wireless network interface is connected to the wireless access point in a time-sharing or simultaneous manner
  • the chip firmware is further configured to: create a corresponding wireless network interface for each wireless link layer management interface, so that after processing The network access information is sent to the wireless access point via the corresponding network interface in a time-sharing or simultaneous manner.
  • each wireless network interface communicates with different wireless access points respectively
  • each wireless network interface can communicate with different wireless access points at the same time; when each wireless network access port is connected to the same wireless access point,
  • Each wireless network interface can transmit network information in a time-sharing manner, which can avoid conflicts in the transmission of multiple network information.
  • the wireless network interface at least includes a WiFi STA network interface (WiFi Station network interface).
  • the wireless network interface is set on the wireless network card of mobile electronic devices such as smartphones and smart watches and is used for the transmission of network information.
  • the lower computer module, chip firmware, and upper computer module in the wireless network card run through different processors respectively, or are integrated and run on the same processor to realize the operation of the wireless network card.
  • the upper computer module and the lower computer module can, for example, use various RISC (reduced instruction set computer) processor IP purchased from ARM, etc. as the processor of the SOC to perform corresponding functions, and can be implemented as an embedded system. Users can implement various communication modules by building ASICs (Application Specific Integrated Circuits) based on purchased IP or self-developed modules to reduce power consumption and costs.
  • ASICs Application Specific Integrated Circuits
  • Figure 6 shows a schematic workflow diagram of a wireless communication method for a host according to an embodiment of the present application.
  • the host includes at least two host systems, each of the at least two host systems has the same or different operating systems, the wireless network card includes a lower computer module, chip firmware and at least two upper computers Driving module, wherein the at least two host computer driving modules correspond to each host system in a one-to-one manner.
  • Each host computer driver module provides a driver program that matches the type of the host interface of the host system for the corresponding host system.
  • Step 602 The lower computer module creates an independent lower computer driver instance for each host interface, and allocates an exclusive wireless link layer management interface to each lower computer driver instance.
  • Step 603 The lower computer module provides loading/unloading of driver instances and management of configuration information for each host system through the host interface of each host system, and synchronizes status information and network information to each host system.
  • Step 604 Each lower computer driver instance processes the network access information delivered through the corresponding host interface, and communicates with the chip firmware through the assigned wireless link layer management interface for exclusive use. Transmission of network access information and response information to the network access information.
  • Step 605 The chip firmware creates a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface.
  • Step 606 The chip firmware sends the response information of the network access information to the lower computer module via the corresponding wireless link layer management interface.
  • a wireless network card can be used to cooperate with multiple host systems for network access.
  • the network access processes of each host system are not affected by each other, which can reduce the cost and power consumption of the host side; the hardware part only needs to set the corresponding host interface and data link
  • the road layer management interface and chip firmware realize the transmission of corresponding data, and can also reduce the hardware design complexity of the wireless network card; through the host computer module and the slave computer module, the network access requirements of each host system are centrally processed, without having to deal with each host system separately. Sets the processing module for network access requirements; therefore, the hardware and software design of the wireless network card can reduce costs and power consumption.
  • the lower computer module includes a driver instance management sub-module.
  • the driver instance management sub-module provides loading/unloading of driver instances for each host system through the host interface of each host system; manages each host The system's network configuration information and sleep/wakeup request information; synchronize public hardware status information to the host computer driver module; synchronize currently connected network information to each host system.
  • the driver instance management submodule loads the driver instance.
  • the driver instance management submodule unloads the driver instance.
  • point Network configuration information used for network access requests of each host system is managed separately, so that each host system can connect to the wireless connection point through the network configuration information.
  • the hardware driver module can include the host interface, wireless link management interface, etc., so that the host computer can The machine driver module performs normal driving. Synchronize information related to the currently connected network, such as the current network transmission process and other information.
  • Each host system on the host side makes a choice which network to connect to or further processes the network connection hardware.
  • the separate management process of each system through a separate driver instance management sub-module can meet the network access requests of each system.
  • the time of network access in part or all of each system is the same or not at the same time, or part of each system in each system Or all connected wireless access points are the same or different at the same time, etc., which can facilitate independent network access for each system.
  • the driver instance management sub-module monitors the sleep state/wake-up state of the operating system of each host system; when the operating system of each host system enters the sleep state, the lower computer module Enter the sleep mode; when the operating system of at least one of the host systems enters the wake-up state, the lower computer module enters the wake-up mode.
  • the dormant state network access will not be performed.
  • one or part of the operating systems that have not entered the dormant state can also perform network access.
  • the lower computer module remains awake to meet the needs of network access. need. Only when all operating systems enter the hibernation state, and all operating systems do not need network access at this time, can the lower computer module enter the hibernation state.
  • the lower computer module also includes a driver instance sub-module, and the network access information at least includes commands and/or data; the driver instance sub-module creates an independent lower computer driver instance for each host interface. , and assign an exclusive wireless link layer management interface to each lower computer driver instance; the lower computer driver instance processes the commands and/or data issued through the corresponding host interface, and uses the assigned exclusive use Processed commands and/or data, and response information of the commands and/or data are transmitted between the wireless link layer management interface and the chip firmware.
  • Each host system has the same or different requirements for network access.
  • Each lower computer driver instance independently processes commands/or data, so that the commands/or data of each host system can be processed separately to avoid mutual influence of the processing processes. When a lower computer driver instance is working, other lower computer driver instances may be in a working state or in an unloaded state, so this The applied wireless network card can not only complete the independent network access requirements of multiple host systems, but also has lower power consumption.
  • each wireless network interface is connected to the same or different wireless access point, and the chip firmware creates a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information passes through the corresponding network interface to the same or different wireless access points.
  • the wireless network interface can choose to connect to the same or different wireless access points for network access.
  • each wireless network interface is connected to the wireless access point in a time-sharing or simultaneous manner, and the chip firmware creates a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information Sent to the wireless access point via the corresponding network interface in a time-sharing or simultaneous manner.
  • each wireless network interface communicates with different wireless access points respectively, each wireless network interface can communicate with different wireless access points at the same time; when each wireless network access port is connected to the same wireless access point, Each wireless network interface can transmit network information in a time-sharing manner, which can avoid conflicts in the transmission of multiple network information.

Abstract

The present application relates to a wireless network card and wireless communication method for a host. A host comprises at least two host systems, each of the at least two host systems having the same or different operating systems. The wireless network card comprises a slave computer module, chip firmware and at least two master computer driving modules; each master computer driving module provides a driver program; the slave computer module provides loading/unloading of driver instances and management of configuration information, synchronizes state information and network information to each host system, creates independent slave computer driver instances, processes issued network access information by means of each slave computer driver instance, and implements transmission of the processed network access information and response information of the network access information between the slave computer module and the chip firmware; the chip firmware sends the network access information to a wireless access point, and sends the response information of the network access information to the slave computer module. Thus, the plurality of operating systems separately or simultaneously execute network access procedures by means of the wireless network card.

Description

一种用于主机的无线网卡和无线通信方法A wireless network card and wireless communication method for a host 技术领域Technical field
本申请涉及移动电子设备领域,更具体地,涉及一种用于主机的无线网卡和无线通信方法。The present application relates to the field of mobile electronic devices, and more specifically, to a wireless network card and a wireless communication method for a host.
背景技术Background technique
智能手机、智能手表等诸多移动电子设备为了提高电池续航能力,会根据不同的应用场景设计不同的操作系统,例如:用户在智能设备上看电影,玩游戏时需要启动标准的Android/Linux系统来满足功能和性能的需求,而在普通待机模式时,只需要启动RTOS系统来满足少量的信息更新、消息通知以及唤醒标准系统的功能。In order to improve battery life, many mobile electronic devices such as smartphones and smart watches will design different operating systems according to different application scenarios. For example, when users watch movies or play games on smart devices, they need to start the standard Android/Linux system. To meet the functional and performance requirements, in normal standby mode, the RTOS system only needs to be started to meet a small amount of information updates, message notifications, and wake-up functions of the standard system.
目前为了解决多系统同时访问网络往往采用多网卡方案或者虚拟网卡方案,其中,多网卡方案为主机的每个操作系统分别配备一块独立的网卡来满足网络访问的需求,但这样的方案硬件设计复杂度、功耗和成本都较高。另一种采用虚拟网卡的方案,由一个主操作系统负责加载实际网卡驱动,其余操作系统则创建虚拟网卡驱动,由虚拟网卡通过操作系统的IPC(进程间通信)功能将网络访问数据转发到主操作系统上并由实际网卡代理数据的收发,但虚拟网卡的方案依赖操作系统自身的IPC能力和设备虚拟化能力,且主操作系统需要保持唤醒以满足其它操作系统的数据转发需求,因此系统实现、软硬件成本和整体功耗较高。At present, in order to solve the problem of multiple systems accessing the network at the same time, multiple network card solutions or virtual network card solutions are often used. Among them, the multi-network card solution equips each operating system of the host with an independent network card to meet the needs of network access. However, the hardware design of such a solution is complex. Degree, power consumption and cost are all higher. Another solution that uses a virtual network card is that a main operating system is responsible for loading the actual network card driver, and other operating systems create virtual network card drivers. The virtual network card forwards network access data to the host through the IPC (Inter-Process Communication) function of the operating system. The actual network card acts as an agent for sending and receiving data on the operating system, but the virtual network card solution relies on the operating system's own IPC capabilities and device virtualization capabilities, and the main operating system needs to stay awake to meet the data forwarding needs of other operating systems, so the system implements , software and hardware costs and overall power consumption are high.
发明内容Contents of the invention
提供了本申请以解决现有技术中存在的上述缺陷。需要一种用于主机的无线网卡和无线通信方法,所述无线网卡可以使主机的至少两个主机系统共享使用同一套无线网卡,各个主机系统能够彼此独立地或同时地经由该无线网卡访问网络,并且在一个主机系统访问网络时,无需唤醒其他的主机系统,因此,在具有较低的硬件成本的同时,还具有较低的多主机系统网络访问功耗。 The present application is provided to address the above-mentioned deficiencies existing in the prior art. What is needed is a wireless network card and a wireless communication method for a host. The wireless network card can enable at least two host systems of the host to share the same set of wireless network cards. Each host system can access the network independently or simultaneously through the wireless network card. , and when one host system accesses the network, there is no need to wake up other host systems. Therefore, while having lower hardware costs, it also has lower multi-host system network access power consumption.
根据本申请的第一方案,提供了一种用于主机的无线网卡,所述主机包括至少两个主机系统,所述至少两个主机系统中的各个具有相同或不同的操作系统,所述无线网卡包括下位机模块、芯片固件和至少两个上位机驱动模块,其中,所述至少两个上位机驱动模块与各个主机系统一一对应。各个上位机驱动模块被配置为:为对应的主机系统提供与所述主机系统的主机接口的类别相匹配的驱动程序。所述下位机模块被配置为各个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口。所述下位机模块还可以被配置为经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载、配置信息的管理,并向各个主机系统同步状态信息和网络信息。所述下位机模块还可以被配置为由各个下位机驱动实例对经由对应的主机接口下发的网络访问信息进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的网络访问信息和所述网络访问信息的响应信息的传输。所述芯片固件被配置为:为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到无线接入点;以及将所述网络访问信息的响应信息经由对应的无线链路层管理接口发送到所述下位机模块。According to a first aspect of the present application, a wireless network card for a host is provided. The host includes at least two host systems. Each of the at least two host systems has the same or different operating systems. The wireless network card The network card includes a lower computer module, a chip firmware and at least two upper computer drive modules, wherein the at least two upper computer drive modules correspond to each host system in a one-to-one manner. Each host computer driver module is configured to provide the corresponding host system with a driver that matches the type of the host interface of the host system. The lower computer module is configured to create an independent lower computer driver instance for each host interface, and allocate an exclusive wireless link layer management interface to each lower computer driver instance. The lower computer module may also be configured to provide loading/unloading of driver instances and management of configuration information for each host system via the host interface of each host system, and synchronize status information and network information to each host system. The lower computer module may also be configured to use each lower computer driver instance to process the network access information issued through the corresponding host interface, and communicate with the chip through the allocated wireless link layer management interface for exclusive use. The processed network access information and the response information of the network access information are transmitted between the firmwares. The chip firmware is configured to: create a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface; and transmit the network access information to the wireless access point. The response information is sent to the lower computer module via the corresponding wireless link layer management interface.
根据本申请的第二方案,提供了一种用于主机的无线通信方法,适用于无线网卡,所述主机包括至少两个主机系统,所述至少两个主机系统中的各个具有相同或不同的操作系统,所述无线网卡包括下位机模块、芯片固件和至少两个上位机驱动模块,其中,所述至少两个上位机驱动模块与各个主机系统一一对应。可以由各个上位机驱动模块为对应的主机系统提供与所述主机系统的主机接口的类别相匹配的驱动程序。可以由下位机模块为各个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口。还可以由下位机模块经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载、配置信息的管理,并向各个主机系统同步状态信息和网络信息。还可以由各个下位机驱动实例对经由对应的主机接口下发的网络访问信息进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的网络访问信息和所述网络访问信息的响应信息的传输。可以由芯片固件为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发 送到无线接入点;以及将所述网络访问信息的响应信息经由对应的无线链路层管理接口发送到所述下位机模块。According to the second aspect of the present application, a wireless communication method for a host is provided, which is suitable for wireless network cards. The host includes at least two host systems, each of the at least two host systems having the same or different Operating system, the wireless network card includes a lower computer module, chip firmware and at least two host computer drive modules, wherein the at least two host computer drive modules correspond to each host system one-to-one. Each host computer driver module may provide a driver program matching the type of the host interface of the host system for the corresponding host system. The lower computer module can create an independent lower computer driver instance for each host interface, and assign an exclusive wireless link layer management interface to each lower computer driver instance. The lower computer module can also provide loading/unloading of driver instances and management of configuration information for each host system through the host interface of each host system, and synchronize status information and network information to each host system. Each lower computer driver instance can also process the network access information issued through the corresponding host interface, and communicate with the chip firmware through the allocated wireless link layer management interface for exclusive use. Transmission of access information and response information to the network access information. The chip firmware can create corresponding wireless network interfaces for each wireless link layer management interface, so that the processed network access information is sent through the corresponding network interface. Send the response information to the wireless access point; and send the response information of the network access information to the lower computer module via the corresponding wireless link layer management interface.
本申请各个实施例提供的用于主机的无线网卡和无线通信方法,为主机的各个主机系统分别提供独立的上位机驱动模块,用于各个主机系统的程序驱动,以使无线网络能够适用于各个主机系统相同或不同的操作系统。无线网卡中的下位机模块具有与各个主机系统一一对应的主机接口,各个主机接口对应于独立的下位机驱动实例,下位机驱动实例则通过独占使用的无线链路层管理接口,使各个主机系统的网络访问信息经由无线网卡中的芯片固件与无线接入点交互。如此,各个主机系统能够利用同一无线网卡上的软硬件,彼此无冲突地独立或同时地进行网络访问,并且,由于上位机模块和下位机模块可以独立处理各个主机系统的网络访问,在单个或部分的主机系统访问网络时,其它的主机系统如果处于休眠状态,可以不必唤醒,因此在硬件成本较低的基础上,还可以进一步降低多主机系统访问网络的功耗。The wireless network card and wireless communication method for the host provided by various embodiments of the present application provide independent host computer driver modules for each host system of the host, and are used for program drivers of each host system, so that the wireless network can be applied to each host system. The host system has the same or different operating system. The lower computer module in the wireless network card has a host interface corresponding to each host system. Each host interface corresponds to an independent lower computer driver instance. The lower computer driver instance uses an exclusive wireless link layer management interface to enable each host. The system's network access information interacts with the wireless access point via the chip firmware in the wireless network card. In this way, each host system can use the software and hardware on the same wireless network card to access the network independently or simultaneously without conflict. Moreover, since the host computer module and the slave computer module can independently handle the network access of each host system, they can access the network in a single or simultaneous manner. When some host systems access the network, other host systems do not need to wake up if they are in a dormant state. Therefore, on the basis of low hardware costs, the power consumption of multi-host systems accessing the network can be further reduced.
附图说明Description of drawings
图1示出根据本申请实施例的用于主机的无线网卡的结构示意图;Figure 1 shows a schematic structural diagram of a wireless network card for a host according to an embodiment of the present application;
图2示出根据本申请实施例的下位机模块的处理过程示意图;Figure 2 shows a schematic diagram of the processing process of the lower computer module according to the embodiment of the present application;
图3示出根据本申请另一实施例的用于主机的无线网卡的结构示意图;Figure 3 shows a schematic structural diagram of a wireless network card for a host according to another embodiment of the present application;
图4示出根据本申请实施例的驱动实例管理子模块的功能示意图;Figure 4 shows a functional schematic diagram of the driver instance management submodule according to an embodiment of the present application;
图5示出根据本申请又一实施例的用于主机的无线网卡的结构示意图;以及Figure 5 shows a schematic structural diagram of a wireless network card for a host according to yet another embodiment of the present application; and
图6示出根据本申请实施例的用于主机的无线通信方法的工作流程示意图。Figure 6 shows a schematic workflow diagram of a wireless communication method for a host according to an embodiment of the present application.
具体实施方式Detailed ways
为使本领域技术人员更好的理解本申请的技术方案,下面结合附图和具体实施方式对本申请作详细说明。下面结合附图和具体实施例对本申请的实施例作进一步详细描述,但不作为对本申请的限定。In order to enable those skilled in the art to better understand the technical solutions of the present application, the present application will be described in detail below in conjunction with the drawings and specific implementation modes. The embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings and specific examples, but this is not intended to limit the present application.
本申请中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分。“包括”或者“包含”等类似的词语意指在该词前的要素涵盖在该词后列举的要素,并不排除也涵盖其他要素的可能。 "First", "second" and similar words used in this application do not indicate any order, quantity or importance, but are only used for distinction. Similar words such as "include" or "include" mean that the elements before the word include the elements listed after the word, and do not exclude the possibility of also covering other elements.
图1示出根据本申请实施例的用于主机的无线网卡的结构示意图。所述主机例如可以包括电脑(包括笔记本电脑、平板电脑pad等)、智能手机或智能手表等移动电子设备。如图1所示,主机100可以包括至少两个主机系统,例如可以包括第一主机系统110a、第二主机系统110b,…,第n主机系统110n,其中,例如第一主机系统110a具有第一操作系统111a,第二主机系统110b具有第二操作系统111b,…,第n主机系统110n具有第n操作系统111n,上述各个操作系统可以是Android操作系统、Linux操作系统、RTOS操作系统等,并且彼此之间可以相同或不同,例如,第一操作系统111a可以是IOS操作系统,而第二主机系统110b可以是Windows操作系统等,在此不一一列举。具体地,主机可以根据功耗指标要求、所需运行的程序、运行的性能差别等方面的不同需求来设置多个主机系统的使用模式,例如主机100可以以切换的方式使用具有不同操作系统的主机系统,以满足如上所述的各种需求,或者也可以根据需要使多个主机系统同时运行,以并行执行不同的程序和任务等。Figure 1 shows a schematic structural diagram of a wireless network card for a host according to an embodiment of the present application. The host may include, for example, a computer (including a laptop, a tablet, etc.), a mobile electronic device such as a smart phone or a smart watch. As shown in Figure 1, the host 100 may include at least two host systems, for example, it may include a first host system 110a, a second host system 110b, ..., an nth host system 110n, wherein, for example, the first host system 110a has a first The operating system 111a, the second host system 110b has the second operating system 111b,..., the nth host system 110n has the nth operating system 111n, each of the above operating systems can be an Android operating system, a Linux operating system, an RTOS operating system, etc., and They may be the same or different from each other. For example, the first operating system 111a may be an IOS operating system, and the second host system 110b may be a Windows operating system, etc., which are not listed here. Specifically, the host can set the usage modes of multiple host systems according to different requirements in terms of power consumption index requirements, programs to be run, differences in running performance, etc. For example, the host 100 can use systems with different operating systems in a switching manner. Host system to meet the various needs as mentioned above, or multiple host systems can be run simultaneously as needed to execute different programs and tasks in parallel.
如图1所示,无线网卡200与各个主机系统分别通过一一对应的主机接口进行通信连接,主机接口包括与第一主机系统110a对应通信连接的第一主机接口210a、与第二主机系统110b对应通信连接的第二主机接口210b,…,与第n主机系统110n对应通信连接的第n主机接口210n。在一些实施例中,主机接口可以有不同的类型,比如可以是USB、SDIO、SPI、UART、PCIE中的一种,并且各个主机系统的主机接口类型可以是相同的也可以是不同的。As shown in Figure 1, the wireless network card 200 communicates with each host system through one-to-one corresponding host interfaces. The host interface includes a first host interface 210a that is correspondingly connected to the first host system 110a, and a second host system 110b. The second host interfaces 210b, . . . corresponding to the communication connection correspond to the n-th host interface 210n corresponding to the communication connection to the n-th host system 110n. In some embodiments, the host interface may be of different types, for example, it may be one of USB, SDIO, SPI, UART, and PCIE, and the host interface types of each host system may be the same or different.
在一些实施例中,所述无线网卡200可以包括下位机模块230、芯片固件250和至少两个上位机驱动模块,其中,所述至少两个上位机驱动模块与各个主机系统一一对应。第一主机系统110a对应于第一上位机驱动模块220a,第二主机系统110b对应于第二上位机驱动模块220b,…,第n主机系统110n对应于第n上位机驱动模块220n。各个上位机驱动模块被配置为;为对应的主机系统提供与所述主机系统的主机接口的类别相匹配的驱动程序。在某一个主机系统发出网络访问需求时,可以由对应的上位机驱动模块提供与其主机接口的类型相匹配的驱动程序,以便不同的主机系统都可以驱动无线网卡从而进行网络访问。在一些实施例中,当某一个主机系统发出网络访问需求时,无线网卡中只有对应的上位机驱动模块进行工作,而未发出网络访问需求的其他主机系统所对应的上位机驱动模块则可以保持休息的状态,因此, 根据本申请实施例的无线网卡不仅可以支持多个主机系统的独立或同时进行网络访问,同时还可以保持较低的整体功耗。In some embodiments, the wireless network card 200 may include a lower computer module 230, a chip firmware 250, and at least two upper computer drive modules, where the at least two upper computer drive modules correspond to each host system one-to-one. The first host system 110a corresponds to the first host computer drive module 220a, the second host system 110b corresponds to the second host computer drive module 220b, ..., and the nth host system 110n corresponds to the nth host computer drive module 220n. Each host computer driver module is configured to provide the corresponding host system with a driver that matches the type of the host interface of the host system. When a certain host system issues a network access request, the corresponding host computer driver module can provide a driver that matches the type of its host interface, so that different host systems can drive wireless network cards for network access. In some embodiments, when a certain host system issues a network access request, only the corresponding host computer driver module in the wireless network card works, while the host computer driver modules corresponding to other host systems that have not issued a network access request can remain state of rest, therefore, The wireless network card according to the embodiment of the present application can not only support independent or simultaneous network access of multiple host systems, but can also maintain low overall power consumption.
图2示出根据本申请实施例的下位机模块的处理过程示意图。Figure 2 shows a schematic diagram of the processing process of the lower computer module according to the embodiment of the present application.
首先,在步骤2301中,例如在主机系统具有网络访问需求的情况下,下位机模块可以为各个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口。结合图5,例如,第一主机接口210a对应第一下位机驱动实例232a、第一无线链路层管理接口240a,第二主机接口210b对应第二下位机驱动实例232b、第二无线链路层管理接口240b,第n主机接口210n对应第n下位机驱动实例232n、第n无线链路层管理接口240n,如此,各个下位机驱动实例可以经由对应的主机接口,将来自各个主机系统的网络访问信息通过独占使用的无线链路层管理接口发送到无线链路层。在一些实施例中,例如根据主机用户的指示,特定的主机系统结束网络访问,或关闭网络访问功能时,对应的下位机驱动实例可以从下位机模块中被注销,当该主机系统需要重新连接网络时,可以创建新的下位机驱动实例。如此,利用独立的驱动实例处理对应的主机系统的网络访问需求,并且各个驱动实例具有独占的无线链路层管理接口,可以使各个主机系统的网络访问需求得到更及时且彼此独立的响应,与采用虚拟机方式访问网络的多主机系统具有更好的灵活性,不必因一个或部分主机系统访问网络而将整个主机唤醒,因此具有更低的整体功耗,并且在主机系统(例如较长时间)停止访问网络的情况下,还可以注销下位机驱动实例,因此可以进一步降低功耗和软硬件的复杂度。First, in step 2301, for example, if the host system has network access requirements, the slave computer module can create an independent slave computer driver instance for each host interface, and assign an exclusive wireless link layer to each slave computer driver instance. Management interface. Referring to Figure 5, for example, the first host interface 210a corresponds to the first lower computer driver instance 232a and the first wireless link layer management interface 240a, and the second host interface 210b corresponds to the second lower computer driver instance 232b and the second wireless link The layer management interface 240b and the n-th host interface 210n correspond to the n-th lower computer driver instance 232n and the n-th wireless link layer management interface 240n. In this way, each lower computer driver instance can transfer network data from each host system through the corresponding host interface. Access information is sent to the wireless link layer through the exclusively used wireless link layer management interface. In some embodiments, for example, according to the instructions of the host user, when a specific host system ends network access or turns off the network access function, the corresponding slave computer driver instance can be unregistered from the slave computer module. When the host system needs to be reconnected When connected to the network, you can create a new lower computer driver instance. In this way, independent driver instances are used to handle the network access requirements of the corresponding host systems, and each driver instance has an exclusive wireless link layer management interface, so that the network access requirements of each host system can be responded to in a more timely and independent manner, and Multi-host systems that use virtual machines to access the network have better flexibility and do not have to wake up the entire host because one or part of the host system accesses the network. Therefore, it has lower overall power consumption and can be used in the host system (for example, for a long time). ) stops accessing the network, the lower computer driver instance can also be logged out, thus further reducing power consumption and software and hardware complexity.
接下来,在步骤2302中,可以经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载、配置信息的管理,并向各个主机系统同步状态信息和网络信息。参考图1,如在各个主机系统具有访问网络的需求时,下位机模块230可以为各个主机系统提供加载驱动实例,以完成网络访问的过程,而在网络访问的需求完成时可以卸载驱动实例。各个主机系统的驱动实例可以独立地进行加载和卸载,以此实现各个主机系统独立进行网络访问的需求。在一些实施例中,由下位机模块230提供配置信息的管理,以使得各个主机系统可以分别根据各自的配置信息进行网络访问。在一些实施例中,针对各个主机系统的网络访问需求,下位机模块230还可以向各个主机系统同步状态信息和网络信息,其中,状态信息可以包括硬件状态、无线信道状 态等,网络信息例如可以包括下载进程信息、网络通知消息等,以使各个主机系统可以根据上述信息进行各种信息的更新,或者诸如系统配置的调整、接入网络的切换等。Next, in step 2302, loading/unloading of driver instances and management of configuration information can be provided for each host system through the host interface of each host system, and status information and network information can be synchronized to each host system. Referring to Figure 1, when each host system has a need to access the network, the lower computer module 230 can provide loading driver instances for each host system to complete the process of network access, and can uninstall the driver instance when the need for network access is completed. The driver instances of each host system can be loaded and unloaded independently, thereby realizing the requirement of independent network access for each host system. In some embodiments, the lower computer module 230 provides management of configuration information, so that each host system can perform network access according to its respective configuration information. In some embodiments, in response to the network access requirements of each host system, the lower computer module 230 can also synchronize status information and network information to each host system, where the status information can include hardware status, wireless channel status Status, etc., network information may include, for example, download process information, network notification messages, etc., so that each host system can update various information based on the above information, or adjust system configuration, switch access networks, etc.
接下来,在步骤2303中,可以由各个下位机驱动实例对经由对应的主机接口下发的网络访问信息进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的网络访问信息和所述网络访问信息的响应信息的传输。下位机模块为各个主机分别创建的下位机驱动实例,分别负责对各个主机系统的主机接口下发的网络访问信息的处理,然后经过独占的无线链路层管理接口传输到芯片固件,芯片固件收到的网络访问信息的响应信息,经过独占的无线链路层管理接口传输到下位机驱动实例中。以此下位机模块部分能够分别完成各个主机系统网络访问过程中的信息处理过程。Next, in step 2303, each lower computer driver instance can process the network access information issued through the corresponding host interface, and communicate with the chip firmware through the allocated wireless link layer management interface for exclusive use. The processed network access information and the response information of the network access information are transmitted between. The slave computer module is a slave computer driver instance created for each host. It is responsible for processing the network access information issued by the host interface of each host system, and then transmits it to the chip firmware through the exclusive wireless link layer management interface. The chip firmware receives The response information of the received network access information is transmitted to the lower computer driver instance through the exclusive wireless link layer management interface. In this way, the lower computer module part can complete the information processing process in the network access process of each host system.
参考图1,在一些实施例中,芯片固件250被配置为:为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到无线接入点300;以及将所述网络访问信息的响应信息经由对应的无线链路层管理接口发送到所述下位机模块230。第一无线链路层管理接口240a对应芯片固件250中的第一无线网络接口251a,第二无线链路层管理接口240b对应芯片固件250中的第二无线网络接口251b,第n无线链路层管理接口240n对应芯片固件250中的第n无线网络接口251n。芯片固件250接收到无线链路层管理接口传输的网络访问信息后经过对应的无线网络接口发送给无线接入点300,无线接入点300返回的网络访问信息的响应信息,经过无线网络接口传输到芯片固件250,然后芯片固件250通过对应的无线链路层管理接口发送到所述下位机模块230。Referring to Figure 1, in some embodiments, the chip firmware 250 is configured to: create a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface. 300; and sending the response information of the network access information to the lower computer module 230 via the corresponding wireless link layer management interface. The first wireless link layer management interface 240a corresponds to the first wireless network interface 251a in the chip firmware 250, the second wireless link layer management interface 240b corresponds to the second wireless network interface 251b in the chip firmware 250, and the nth wireless link layer The management interface 240n corresponds to the nth wireless network interface 251n in the chip firmware 250. The chip firmware 250 receives the network access information transmitted by the wireless link layer management interface and sends it to the wireless access point 300 through the corresponding wireless network interface. The response information of the network access information returned by the wireless access point 300 is transmitted through the wireless network interface. to the chip firmware 250, and then the chip firmware 250 is sent to the lower computer module 230 through the corresponding wireless link layer management interface.
在一些实施例中,无线接入点300可以是多个,各个无线网络接口可以接入同一个无线接入点300,也可以接入不同的无线接入点300。In some embodiments, there may be multiple wireless access points 300, and each wireless network interface may access the same wireless access point 300 or different wireless access points 300.
上述各个主机系统分别通过对应的主机接口与同一无线网卡进行通信连接,上位机驱动模块根据不同类别的主机接口提供相匹配的驱动程序。上述下位机模块的处理过程,能够实现从主机端的各个主机系统独立的网络访问处理过程,所以各个主机系统的网络访问过程相互独立,满足多个主机系统同时或不同时进行网络访问的需求,比如主机端有三个主机系统,三个主机系统或其中的任何两个主机系统可以同时进行网络访问,或者三个主机系统 不同时的单独进行网络访问。比如可以在运行性能要求较高的情况下,启动Linux操作系统,而在待机模式下选择切换启动RTOS操作系统,RTOS操作系统可以通过无线网卡进行网络访问,满足待机模式下的网络信息的及时更新。因此,利用一个无线网卡可以与多个主机系统配合进行网络访问,各个主机系统的网络访问过程之间相互不受影响,能够降低主机端的成本和功耗。由于硬件部分只需要设置对应的主机接口、数据链路层管理接口、芯片固件,实现对应数据的传输,也能够降低无线网卡的硬件设计复杂度。此外,通过上位机模块和下位机模块集中对各个主机系统网络访问需求的处理,不必对各个主机系统分别设置网络访问需求的处理模块,因此无线网卡端的硬件和软件设计都能够降低成本和功耗。Each of the above host systems communicates with the same wireless network card through corresponding host interfaces, and the host computer driver module provides matching drivers according to different types of host interfaces. The processing process of the above-mentioned lower computer module can realize independent network access processing processes from each host system on the host side, so the network access processes of each host system are independent of each other, meeting the needs of multiple host systems for network access at the same time or at different times, such as There are three host systems on the host side. The three host systems or any two of them can have network access at the same time, or the three host systems No separate network access at the same time. For example, you can start the Linux operating system when the operating performance requirements are high, and choose to switch to start the RTOS operating system in standby mode. The RTOS operating system can provide network access through the wireless network card to meet the timely update of network information in standby mode. . Therefore, one wireless network card can be used to cooperate with multiple host systems for network access. The network access processes of each host system are not affected by each other, which can reduce the cost and power consumption of the host side. Since the hardware part only needs to set up the corresponding host interface, data link layer management interface, and chip firmware to realize the transmission of corresponding data, it can also reduce the complexity of the hardware design of the wireless network card. In addition, the network access requirements of each host system are centrally processed through the host computer module and the slave computer module. There is no need to set up separate processing modules for network access requirements for each host system. Therefore, the hardware and software design of the wireless network card can reduce costs and power consumption. .
图3示出根据本申请另一实施例的用于主机的无线网卡的结构示意图。主机100包括第一主机系统110a、第二主机系统110b、第n主机系统110n。第一主机系统110a包括第一操作系统111a,第二主机系统110b包括第二操作系统111b、第n主机系统110n包括第n操作系统111n。第一主机系统110a对应无线网卡200的第一主机接口210a、第一上位机驱动模块220a、第一无线链路层管理接口240a、芯片固件250的第一无线网络接口251a;第二主机系统110b对应无线网卡200的第二主机接口210b、第二上位机驱动模块220b、第二无线链路层管理接口240b、芯片固件250的第二无线网络接口251b;第n主机系统110n对应无线网卡200的第n主机接口210n、第n上位机驱动模块220n、第n无线链路层管理接口240n、芯片固件250的第n无线网络接口251n。无线网卡中包括下位机模块230。下位机模块230包括驱动实例管理子模块231。下位机模块230为各个主机接口创建独立的下位机驱动实例,第一主机系统110a对应第一下位机驱动实例232a,第二主机系统110b对应第二下位机驱动实例232b,第n主机系统110n对应第n下位机驱动实例232n。在主机系统发出网络访问需求时,下位机模块230为各个主机接口创建独立的下位机驱动实例,在主机系统的网络访问需求结束后,对应的下位机驱动实例从下位机模块注销。芯片固件250中的各个无线网络接口分别与无线接入点300通信连接。Figure 3 shows a schematic structural diagram of a wireless network card for a host according to another embodiment of the present application. The host 100 includes a first host system 110a, a second host system 110b, and an nth host system 110n. The first host system 110a includes a first operating system 111a, the second host system 110b includes a second operating system 111b, and the nth host system 110n includes an nth operating system 111n. The first host system 110a corresponds to the first host interface 210a of the wireless network card 200, the first host computer driver module 220a, the first wireless link layer management interface 240a, and the first wireless network interface 251a of the chip firmware 250; the second host system 110b Corresponds to the second host interface 210b of the wireless network card 200, the second host computer driver module 220b, the second wireless link layer management interface 240b, and the second wireless network interface 251b of the chip firmware 250; the nth host system 110n corresponds to the wireless network card 200. The nth host interface 210n, the nth host computer driver module 220n, the nth wireless link layer management interface 240n, and the nth wireless network interface 251n of the chip firmware 250. The wireless network card includes a lower computer module 230. The lower computer module 230 includes a driver instance management sub-module 231. The lower computer module 230 creates an independent lower computer driver instance for each host interface. The first host system 110a corresponds to the first lower computer driver instance 232a, the second host system 110b corresponds to the second lower computer driver instance 232b, and the nth host system 110n Corresponds to the nth slave computer driver instance 232n. When the host system issues a network access request, the slave computer module 230 creates an independent slave computer driver instance for each host interface. After the host system's network access request ends, the corresponding slave computer driver instance is logged out from the slave computer module. Each wireless network interface in the chip firmware 250 is respectively connected to the wireless access point 300 for communication.
图3中所示的无线网卡的下位机模块中设置了驱动实例管理子模块,可以方便对各个主机系统的下位机驱动实例分别进行加载/卸载及与各个主机系统进行信息的交互等工作,驱动实例管理子模块的功能具体如图4所示。 The driver instance management submodule is set up in the lower computer module of the wireless network card shown in Figure 3, which can facilitate the loading/unloading of the lower computer driver instances of each host system and the interaction of information with each host system. The driver The functions of the instance management submodule are shown in Figure 4.
图4示出根据本申请实施例的驱动实例管理子模块的功能示意图。所述下位机模块被进一步配置为由驱动实例管理子模块400实现的管理功能401,由所述驱动实例管理子模块,经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载。通过管理功能401,为网络访问处理过程中提供驱动实例的加载和卸载过程。管理功能402,管理各个主机系统的网络配置信息和睡眠/唤醒请求信息。通过管理功能402,分别管理各个主机系统的用于网络访问请求的网络配置信息,以便各个主机系统可以通过网络配置信息与无线连接点进行连接;还管理各个主机系统请求睡眠/唤醒的信息,以便无线网卡端的相关软件部分做出睡眠/唤醒的反应,使得无线网卡能够随时根据各个主机系统的需求进行网络访问的需求。管理功能403,向上位机驱动模块同步公共的硬件状态信息。通过管理功能403,给上位机驱动模块反馈用于网络连接的硬件状态,比如硬件的状态和无线信道的状态等,硬件状态包括硬件初始化状态等的信息,硬件可以包括主机接口、无线链路管理接口等,以便上位机驱动模块进行正常驱动。管理功能404,向各个主机系统同步当前连接的网络信息。通过管理功能404,同步当前连接的网络的相关信息,比如当前连接的网络传输进程等信息,主机端各个主机系统做出选择连接到哪个网络端或对网络连接的硬件进行进一步处理等。通过单独的驱动实例管理子模块对各个系统的分开管理过程,能够满足各个系统进行网络访问的请求,在各个系统中的部分或全部的网络访问的时间相同或不同时,或各个系统中的部分或全部连接的无线接入点相同或不同时等,可以方便各个系统分别进行独立的网络访问。Figure 4 shows a functional schematic diagram of the driver instance management submodule according to an embodiment of the present application. The lower computer module is further configured as a management function 401 implemented by the driver instance management sub-module 400. The driver instance management sub-module provides loading/unloading of driver instances for each host system through the host interface of each host system. . Through the management function 401, the loading and unloading process of the driver instance is provided during the network access processing. Management function 402 manages network configuration information and sleep/wake request information of each host system. Through the management function 402, the network configuration information for network access requests of each host system is managed respectively, so that each host system can connect to the wireless connection point through the network configuration information; the sleep/wakeup information requested by each host system is also managed, so that The relevant software part on the wireless network card side reacts to sleep/wake up, so that the wireless network card can perform network access needs at any time according to the needs of each host system. Management function 403 is to synchronize common hardware status information to the host computer driver module. Through the management function 403, the host computer driver module is fed back the hardware status used for network connection, such as the status of the hardware and the status of the wireless channel. The hardware status includes information such as the hardware initialization status. The hardware can include the host interface and wireless link management. interface, etc., so that the host computer driver module can drive normally. The management function 404 synchronizes the currently connected network information to each host system. Through the management function 404, relevant information of the currently connected network is synchronized, such as the currently connected network transmission process and other information, and each host system on the host side makes a choice of which network to connect to or further processes the network connection hardware. The separate management process of each system through a separate driver instance management sub-module can meet the network access requests of each system. The time of network access in part or all of each system is the same or not at the same time, or part of each system in each system Or all connected wireless access points are the same or different at the same time, etc., which can facilitate independent network access for each system.
在一些实施例中,所述下位机模块被进一步配置为:由所述驱动实例管理子模块监测各个主机系统的操作系统的休眠状态/唤醒状态,当各个主机系统中的每一个的操作系统均进入休眠状态时,所述下位机模块转入休眠模式;当各个主机系统中的至少一个的操作系统进入唤醒状态时,所述下位机模块转入唤醒模式。在其中一个或部分主机系统的操作系统进入休眠状态时就不进行网络访问,但是还有一个或部分没进入休眠状态的操作系统也可以进行网络访问,这时下位机模块保持唤醒状态,以满足网络访问需求。只有全部主机系统的操作系统进入到休眠状态,此时全部的操作系统都不需要进行网络访问,下位机模块才能进入到休眠状态,如此,可以保持下位机模块能够对任何一个主机系统的网络访问需求进行及时的响应和快速的处理。 In some embodiments, the lower computer module is further configured to: monitor the sleep state/awake state of the operating system of each host system by the driver instance management sub-module. When the operating system of each host system is When entering the sleep state, the lower computer module enters the sleep mode; when the operating system of at least one of the host systems enters the wake-up state, the lower computer module enters the wake-up mode. When the operating system of one or part of the host systems enters the sleep state, network access will not be performed. However, one or part of the operating systems that have not entered the sleep state can also perform network access. At this time, the lower computer module remains awake to meet the requirements. Network access requirements. Only when the operating systems of all host systems enter the sleep state, and all operating systems do not need network access at this time, can the slave computer module enter the sleep state. In this way, the slave computer module can maintain network access to any host system. Need prompt response and quick processing.
图5示出根据本申请又一实施例的用于主机的无线网卡的结构示意图。主机100、下位机模块230、芯片固件250与图1中的结构设置和连接情况类似。另外,如图5所示,所述下位机模块还包括驱动实例子模块232,所述网络访问信息至少包括命令和/或数据,所述下位机模块被进一步配置为:由所述驱动实例子模块232,为每个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口。与第一主机接口210a对应的第一下位机驱动实例232a,与第二主机接口210b对应的第二下位机驱动实例232b,…,第n主机接口210n对应的第n下位机驱动实例232n。并且,通过驱动实例子模块的分配,第一下位机驱动实例232a对应第一无线链路层管理接口240a,第二下位机驱动实例232b对应第二无线链路层管理接口240b,…,第n下位机驱动实例232n对应第n无线链路层管理接口240n。进一步,各个下位机驱动实例可以是由驱动实例管理子模块预先进行创建然后存储在下位机模块中,在主机系统发出网络访问需求时,通过驱动实例管理子模块根据主机接口类型进行加载,在网络访问需求结束后,通过驱动实例管理子模块进行卸载;或各个下位机驱动实例可以是在各个主机系统发出网络访问需求时通过驱动实例管理子模块进行创建,然后由驱动实例管理子模块进行加载使用,在网络访问需求结束后,通过驱动实例管理子模块进行卸载。进一步,下位机模块预先创建的各个驱动实例可以预先与各个主机系统进行匹配绑定,或下位机驱动实例也可以通过主机接口类型的匹配情况和占用情况等进行分配。每个主机系统每次网络访问都单独分配独占的下位机驱动实例。通过预先匹配绑定的方式,在主机系统网络访问的过程中,可以根据主机中的不同主机系统,直接加载对应不同的驱动实例。在下位机模块中设置驱动实例管理子模块,可以方便根据各个主机系统的主机接口创建独立的下位机驱动实例,方便各个主机系统独立或同时进行网络访问过程。Figure 5 shows a schematic structural diagram of a wireless network card for a host according to yet another embodiment of the present application. The host computer 100, the slave computer module 230, and the chip firmware 250 have similar structural settings and connection conditions to those in Figure 1. In addition, as shown in Figure 5, the lower computer module also includes a driving instance sub-module 232. The network access information at least includes commands and/or data. The lower computer module is further configured to: use the driving instance sub-module 232. Module 232 creates an independent lower computer driver instance for each host interface, and allocates an exclusive wireless link layer management interface to each lower computer driver instance. The first slave computer driver instance 232a corresponding to the first host interface 210a, the second slave computer driver instance 232b corresponding to the second host interface 210b, ..., the nth slave computer driver instance 232n corresponding to the nth host interface 210n. Moreover, through the allocation of driver instance sub-modules, the first slave computer driver instance 232a corresponds to the first wireless link layer management interface 240a, the second slave computer driver instance 232b corresponds to the second wireless link layer management interface 240b,... The n lower computer driver instance 232n corresponds to the nth wireless link layer management interface 240n. Furthermore, each lower computer driver instance can be pre-created by the driver instance management sub-module and then stored in the lower computer module. When the host system issues a network access request, it is loaded according to the host interface type through the driver instance management sub-module. On the network After the access request is completed, it is uninstalled through the driver instance management sub-module; or each driver instance of the lower computer can be created through the driver instance management sub-module when each host system issues a network access request, and then loaded and used by the driver instance management sub-module. , after the network access requirement is completed, uninstall through the driver instance management sub-module. Furthermore, each driver instance pre-created by the lower computer module can be matched and bound to each host system in advance, or the driver instances of the lower computer can also be allocated based on the matching and occupancy of the host interface type. Each host system is assigned an exclusive driver instance of the lower computer for each network access. Through pre-matching and binding, during the host system network access process, different driver instances can be directly loaded according to different host systems in the host. Setting up the driver instance management submodule in the lower computer module can facilitate the creation of independent lower computer driver instances based on the host interfaces of each host system, making it easier for each host system to access the network independently or simultaneously.
在图5中所示的下位机模块的基础上,在一些实施例中,所述下位机模块还被进一步配置为:由所述下位机驱动实例对经由对应的主机接口下发的命令和/或数据进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的命令和/或数据,以及所述命令和/或数据的响应信息的传输。各个主机系统进行网络访问的需求相同或不同,各个下位机驱动实例独立进行命令/或数据的处理过程,以便各个主机系统的命令/ 或数据能够被分别处理,避免处理过程相互影响。在一个下位机驱动实例进行工作时,其它下位机驱动实例可以处于工作状态或处于没被加载的状态,所以本申请的无线网卡不仅可以完成多个主机系统的独立的网络访问需求,同时还具有较低的功耗。On the basis of the lower computer module shown in Figure 5, in some embodiments, the lower computer module is further configured to: use the lower computer driver instance to process commands issued via the corresponding host interface and/or or data is processed, and the processed commands and/or data, as well as the response information of the commands and/or data are transmitted between the chip firmware and the assigned exclusive use wireless link layer management interface. . Each host system has the same or different requirements for network access. Each lower computer driver instance independently processes commands/or data so that the commands/data of each host system can be processed independently. Or the data can be processed separately to avoid mutual interference between processing processes. When one lower computer driver instance is working, other lower computer driver instances may be in a working state or in an unloaded state. Therefore, the wireless network card of this application can not only complete the independent network access requirements of multiple host systems, but also has Lower power consumption.
在一些实施例中,各个无线网络接口与相同或不同的无线接入点连接,所述芯片固件被进一步配置为:为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到相同或不同的无线接入点。在无线接入点不只一个的情况下,无线网络接口可以选择与相同或不同的无线接入点连接进行网络访问。在只有一个无线接入点的情况下,各个主机系统可以分别根据相同的配置信息连接该无线接入点。在有多个无线接入点的情况下,各个主机系统可以根据不同的网络配置信息连接不同的无线接入点。比如有两个无线接入点,主机具有两个主机系统,这两个主机系统可以分别选择连接不同的无线接入点,或有一个无线接入点的信号传输状态相对较好,那么这两个主机系统可以都连接这个信号传输状态较好的无线接入点。In some embodiments, each wireless network interface is connected to the same or different wireless access point, and the chip firmware is further configured to: create a corresponding wireless network interface for each wireless link layer management interface, so that the processed network Access information is sent to the same or different wireless access points via corresponding network interfaces. When there is more than one wireless access point, the wireless network interface can choose to connect to the same or different wireless access points for network access. When there is only one wireless access point, each host system can connect to the wireless access point based on the same configuration information. In the case of multiple wireless access points, each host system can connect to different wireless access points based on different network configuration information. For example, there are two wireless access points, and the host has two host systems. The two host systems can choose to connect to different wireless access points respectively, or the signal transmission status of one wireless access point is relatively good, then the two host systems can choose to connect to different wireless access points. Each host system can connect to this wireless access point with better signal transmission status.
在一些实施例中,各个无线网络接口分时地或同时地与无线接入点连接,所述芯片固件被进一步配置为:为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息分时地或同时地经由对应的网络接口发送到无线接入点。在各个无线网络接口分别与不同的无线接入点进行通信时,各个无线网络接口可以同时与不同的无线接入点进行通信;在各个无线网络接入口分别与相同的无线接入点连接时,各个无线网络接口可以分时进行网络信息的传输,能够避免多个网络信息传输的冲突。In some embodiments, each wireless network interface is connected to the wireless access point in a time-sharing or simultaneous manner, and the chip firmware is further configured to: create a corresponding wireless network interface for each wireless link layer management interface, so that after processing The network access information is sent to the wireless access point via the corresponding network interface in a time-sharing or simultaneous manner. When each wireless network interface communicates with different wireless access points respectively, each wireless network interface can communicate with different wireless access points at the same time; when each wireless network access port is connected to the same wireless access point, Each wireless network interface can transmit network information in a time-sharing manner, which can avoid conflicts in the transmission of multiple network information.
在一些实施例中,无线网络接口至少包括WiFi STA网络接口(WiFi Station网络接口)。无线网络接口是设置在智能手机、智能手表等移动电子设备的无线网卡上的,用于网络信息的传输。In some embodiments, the wireless network interface at least includes a WiFi STA network interface (WiFi Station network interface). The wireless network interface is set on the wireless network card of mobile electronic devices such as smartphones and smart watches and is used for the transmission of network information.
无线网卡中的下位机模块、芯片固件、上位机模块分别通过不同的处理器运行,或集成运行在同一处理器上,以实现无线网卡的运行。上位机模块、下位机模块例如可以利用从ARM公司等购买的各种RISC(精简指令集计算机)处理器IP来作为SOC的处理器来执行对应的功能,可以实现为嵌入式系统。用户可以通过基于购买的IP或自主研发的模块构建ASIC(特定用途集成电路),来实现各种通信模块,以便降低功耗和成本。 The lower computer module, chip firmware, and upper computer module in the wireless network card run through different processors respectively, or are integrated and run on the same processor to realize the operation of the wireless network card. The upper computer module and the lower computer module can, for example, use various RISC (reduced instruction set computer) processor IP purchased from ARM, etc. as the processor of the SOC to perform corresponding functions, and can be implemented as an embedded system. Users can implement various communication modules by building ASICs (Application Specific Integrated Circuits) based on purchased IP or self-developed modules to reduce power consumption and costs.
下面对根据本申请实施例的用于主机的无线通信方法进行具体说明。The following is a detailed description of the wireless communication method for the host according to the embodiment of the present application.
图6示出根据本申请实施例的用于主机的无线通信方法的工作流程示意图。适用于无线网卡,所述主机包括至少两个主机系统,所述至少两个主机系统中的各个具有相同或不同的操作系统,所述无线网卡包括下位机模块、芯片固件和至少两个上位机驱动模块,其中,所述至少两个上位机驱动模块与各个主机系统一一对应。步骤601,由各个上位机驱动模块为对应的主机系统提供与所述主机系统的主机接口的类别相匹配的驱动程序。步骤602,由下位机模块为各个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口。步骤603,由下位机模块经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载、配置信息的管理,并向各个主机系统同步状态信息和网络信息。步骤604,由各个下位机驱动实例对经由对应的主机接口下发的网络访问信息进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的网络访问信息和所述网络访问信息的响应信息的传输。步骤605,由芯片固件为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到无线接入点。步骤606,由芯片固件将所述网络访问信息的响应信息经由对应的无线链路层管理接口发送到所述下位机模块。Figure 6 shows a schematic workflow diagram of a wireless communication method for a host according to an embodiment of the present application. Suitable for wireless network cards, the host includes at least two host systems, each of the at least two host systems has the same or different operating systems, the wireless network card includes a lower computer module, chip firmware and at least two upper computers Driving module, wherein the at least two host computer driving modules correspond to each host system in a one-to-one manner. Step 601: Each host computer driver module provides a driver program that matches the type of the host interface of the host system for the corresponding host system. Step 602: The lower computer module creates an independent lower computer driver instance for each host interface, and allocates an exclusive wireless link layer management interface to each lower computer driver instance. Step 603: The lower computer module provides loading/unloading of driver instances and management of configuration information for each host system through the host interface of each host system, and synchronizes status information and network information to each host system. Step 604: Each lower computer driver instance processes the network access information delivered through the corresponding host interface, and communicates with the chip firmware through the assigned wireless link layer management interface for exclusive use. Transmission of network access information and response information to the network access information. Step 605: The chip firmware creates a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface. Step 606: The chip firmware sends the response information of the network access information to the lower computer module via the corresponding wireless link layer management interface.
利用一个无线网卡可以与多个主机系统配合进行网络访问,各个主机系统的网络访问过程之间相互不受影响,能够降低主机端的成本和功耗;硬件部分只需要设置对应的主机接口、数据链路层管理接口、芯片固件,实现对应数据的传输,也能够降低无线网卡的硬件设计复杂度;通过上位机模块和下位机模块集中对各个主机系统网络访问需求的处理,不必对各个主机系统分别设置网络访问需求的处理模块;所以无线网卡端的硬件和软件设计都能够降低成本和功耗。A wireless network card can be used to cooperate with multiple host systems for network access. The network access processes of each host system are not affected by each other, which can reduce the cost and power consumption of the host side; the hardware part only needs to set the corresponding host interface and data link The road layer management interface and chip firmware realize the transmission of corresponding data, and can also reduce the hardware design complexity of the wireless network card; through the host computer module and the slave computer module, the network access requirements of each host system are centrally processed, without having to deal with each host system separately. Sets the processing module for network access requirements; therefore, the hardware and software design of the wireless network card can reduce costs and power consumption.
在一些实施例中,所述下位机模块包括驱动实例管理子模块,由所述驱动实例管理子模块:经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载;管理各个主机系统的网络配置信息和睡眠/唤醒请求信息;向上位机驱动模块同步公共的硬件状态信息;向各个主机系统同步当前连接的网络信息。在主机系统开始网络访问需求时,驱动实例管理子模块加载驱动实例,在结束网络访问需求,驱动实例管理子模块卸载驱动实例。分 别管理各个主机系统的用于网络访问请求的网络配置信息,以便各个主机系统可以通过网络配置信息与无线连接点进行连接。还管理各个主机系统请求睡眠/唤醒的信息,以便无线网卡端的相关软件部分做出睡眠/唤醒的反应,以便无线网卡能够随时根据各个主机系统的需求进行网络访问的需求。给上位机驱动模块反馈用于网络连接的硬件状态,比如硬件的状态和无线信道的状态等,硬件状态包括硬件初始化状态等的信息,硬件可以包括主机接口、无线链路管理接口等,以便上位机驱动模块进行正常驱动。同步当前连接的网络的相关信息,比如当前网络传输进程等信息,主机端各个主机系统做出选择连接到哪个网络端或对网络连接的硬件进行进一步处理等。通过单独的驱动实例管理子模块对各个系统的分开管理过程,能够满足各个系统进行网络访问的请求,在各个系统中的部分或全部的网络访问的时间相同或不同时,或各个系统中的部分或全部连接的无线接入点相同或不同时等,可以方便各个系统分别进行独立的网络访问。In some embodiments, the lower computer module includes a driver instance management sub-module. The driver instance management sub-module: provides loading/unloading of driver instances for each host system through the host interface of each host system; manages each host The system's network configuration information and sleep/wakeup request information; synchronize public hardware status information to the host computer driver module; synchronize currently connected network information to each host system. When the host system starts a network access request, the driver instance management submodule loads the driver instance. When the network access request ends, the driver instance management submodule unloads the driver instance. point Network configuration information used for network access requests of each host system is managed separately, so that each host system can connect to the wireless connection point through the network configuration information. It also manages the information requested by each host system to sleep/wake up, so that the relevant software part on the wireless network card side can respond to sleep/wake up, so that the wireless network card can perform network access needs at any time according to the needs of each host system. Feedback the hardware status used for network connection to the host computer driver module, such as the status of the hardware and the status of the wireless channel. The hardware status includes information such as hardware initialization status. The hardware can include the host interface, wireless link management interface, etc., so that the host computer can The machine driver module performs normal driving. Synchronize information related to the currently connected network, such as the current network transmission process and other information. Each host system on the host side makes a choice which network to connect to or further processes the network connection hardware. The separate management process of each system through a separate driver instance management sub-module can meet the network access requests of each system. The time of network access in part or all of each system is the same or not at the same time, or part of each system in each system Or all connected wireless access points are the same or different at the same time, etc., which can facilitate independent network access for each system.
在一些实施例中,由所述驱动实例管理子模块监测各个主机系统的操作系统的休眠状态/唤醒状态;当各个主机系统中的每一个的操作系统均进入休眠状态时,所述下位机模块转入休眠模式;当各个主机系统中的至少一个的操作系统进入唤醒状态时,所述下位机模块转入唤醒模式。在其中一个或部分的操作系统进入休眠状态时就不进行网络访问,但是还有一个或部分没进入休眠状态的操作系统也可以进行网络访问,这时下位机模块保持唤醒状态,以满足网络访问需求。只有全部的操作系统进入到休眠状态,此时全部的操作系统都不需要进行网络访问,下位机模块才能进入到休眠状态。In some embodiments, the driver instance management sub-module monitors the sleep state/wake-up state of the operating system of each host system; when the operating system of each host system enters the sleep state, the lower computer module Enter the sleep mode; when the operating system of at least one of the host systems enters the wake-up state, the lower computer module enters the wake-up mode. When one or part of the operating systems enter the dormant state, network access will not be performed. However, one or part of the operating systems that have not entered the dormant state can also perform network access. At this time, the lower computer module remains awake to meet the needs of network access. need. Only when all operating systems enter the hibernation state, and all operating systems do not need network access at this time, can the lower computer module enter the hibernation state.
在一些实施例中,所述下位机模块还包括驱动实例子模块,所述网络访问信息至少包括命令和/或数据;由所述驱动实例子模块为每个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口;由所述下位机驱动实例对经由对应的主机接口下发的命令和/或数据进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的命令和/或数据,以及所述命令和/或数据的响应信息的传输。各个主机系统进行网络访问的需求相同或不同,各个下位机驱动实例独立进行命令/或数据的处理过程,以便各个主机系统的命令/或数据能够被分别处理,避免处理过程相互影响。在一个下位机驱动实例进行工作时,其它下位机驱动实例可以处于工作状态或处于没被加载的状态,所以本 申请的无线网卡不仅可以完成多个主机系统的独立的网络访问需求,同时还具有较低的功耗。In some embodiments, the lower computer module also includes a driver instance sub-module, and the network access information at least includes commands and/or data; the driver instance sub-module creates an independent lower computer driver instance for each host interface. , and assign an exclusive wireless link layer management interface to each lower computer driver instance; the lower computer driver instance processes the commands and/or data issued through the corresponding host interface, and uses the assigned exclusive use Processed commands and/or data, and response information of the commands and/or data are transmitted between the wireless link layer management interface and the chip firmware. Each host system has the same or different requirements for network access. Each lower computer driver instance independently processes commands/or data, so that the commands/or data of each host system can be processed separately to avoid mutual influence of the processing processes. When a lower computer driver instance is working, other lower computer driver instances may be in a working state or in an unloaded state, so this The applied wireless network card can not only complete the independent network access requirements of multiple host systems, but also has lower power consumption.
在一些实施例中,各个无线网络接口与相同或不同的无线接入点连接,由所述芯片固件为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到相同或不同的无线接入点。在无线接入点不只一个的情况下,无线网络接口可以选择与相同或不同的无线接入点连接进行网络访问。In some embodiments, each wireless network interface is connected to the same or different wireless access point, and the chip firmware creates a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information passes through the corresponding network interface to the same or different wireless access points. When there is more than one wireless access point, the wireless network interface can choose to connect to the same or different wireless access points for network access.
在一些实施例中,各个无线网络接口分时地或同时地与无线接入点连接,由所述芯片固件为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息分时地或同时地经由对应的网络接口发送到无线接入点。在各个无线网络接口分别与不同的无线接入点进行通信时,各个无线网络接口可以同时与不同的无线接入点进行通信;在各个无线网络接入口分别与相同的无线接入点连接时,各个无线网络接口可以分时进行网络信息的传输,能够避免多个网络信息传输的冲突。In some embodiments, each wireless network interface is connected to the wireless access point in a time-sharing or simultaneous manner, and the chip firmware creates a corresponding wireless network interface for each wireless link layer management interface, so that the processed network access information Sent to the wireless access point via the corresponding network interface in a time-sharing or simultaneous manner. When each wireless network interface communicates with different wireless access points respectively, each wireless network interface can communicate with different wireless access points at the same time; when each wireless network access port is connected to the same wireless access point, Each wireless network interface can transmit network information in a time-sharing manner, which can avoid conflicts in the transmission of multiple network information.
此外,尽管已经在本文中描述了示例性实施例,其范围包括任何和所有基于本申请的具有等同元件、修改、省略、组合(例如,各种实施例交叉的方案)、改编或改变的实施例。权利要求书中的元件将被基于权利要求中采用的语言宽泛地解释,并不限于在本说明书中或本申请的实施期间所描述的示例,其示例将被解释为非排他性的。因此,本说明书和示例旨在仅被认为是示例,真正的范围和精神由以下权利要求以及其等同物的全部范围所指示。Furthermore, although exemplary embodiments have been described herein, the scope thereof includes any and all implementations based on the present application with equivalent elements, modifications, omissions, combinations (e.g., cross-cutting arrangements of various embodiments), adaptations, or changes example. Elements in the claims are to be construed broadly based on the language employed in the claims and are not limited to the examples described in this specification or during the practice of this application, which examples are to be construed as non-exclusive. It is intended that the specification and examples be considered as examples only, with a true scope and spirit being indicated by the following claims, along with their full scope of equivalents.
以上描述旨在是说明性的而不是限制性的。例如,上述示例(或其一个或更多方案)可以彼此组合使用。例如本领域普通技术人员在阅读上述描述时可以使用其它实施例。另外,在上述具体实施方式中,各种特征可以被分组在一起以简单化本申请。这不应解释为一种不要求保护的公开的特征对于任一权利要求是必要的意图。相反,本申请的主题可以少于特定的公开的实施例的全部特征。从而,以下权利要求书作为示例或实施例在此并入具体实施方式中,其中每个权利要求独立地作为单独的实施例,并且考虑这些实施例可以以各种组合或排列彼此组合。本发明的范围应参照所附权利要求以及这些权利要求赋权的等同形式的全部范围来确定。The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. Additionally, in the above detailed description, various features may be grouped together to simplify the present application. This should not be interpreted as an intention that an unclaimed disclosed feature is essential to any claim. Rather, the subject matter of this application may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description as examples or embodiments, with each claim standing on its own as a separate embodiment, and with it being contemplated that these embodiments may be combined with one another in various combinations or permutations. The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
以上实施例仅为本申请的示例性实施例,不用于限制本发明,本发明的保护范围由权利要求书限定。本领域技术人员可以在本申请的实质和保护范 围内,对本发明做出各种修改或等同替换,这种修改或等同替换也应视为落在本发明的保护范围内。 The above embodiments are only exemplary embodiments of the present application and are not used to limit the present invention. The protection scope of the present invention is defined by the claims. Those skilled in the art can understand the essence and protection scope of this application. Various modifications or equivalent substitutions may be made to the present invention within the scope of the present invention, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present invention.

Claims (14)

  1. 一种用于主机的无线网卡,其特征在于,所述主机包括至少两个主机系统,所述至少两个主机系统中的各个具有相同或不同的操作系统,所述无线网卡包括下位机模块、芯片固件和至少两个上位机驱动模块,其中,所述至少两个上位机驱动模块与各个主机系统一一对应,A wireless network card for a host, characterized in that the host includes at least two host systems, each of the at least two host systems has the same or different operating systems, and the wireless network card includes a lower computer module, Chip firmware and at least two host computer drive modules, wherein the at least two host computer drive modules correspond to each host system one-to-one,
    各个上位机驱动模块被配置为;为对应的主机系统提供与所述主机系统的主机接口的类别相匹配的驱动程序;Each host computer driver module is configured to provide the corresponding host system with a driver that matches the type of the host interface of the host system;
    所述下位机模块被配置为:The lower computer module is configured as:
    为各个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口;Create an independent lower computer driver instance for each host interface, and assign an exclusive wireless link layer management interface to each lower computer driver instance;
    经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载、配置信息的管理,并向各个主机系统同步状态信息和网络信息;Through the host interface of each host system, it provides loading/unloading of driver instances, management of configuration information for each host system, and synchronizes status information and network information to each host system;
    由各个下位机驱动实例对经由对应的主机接口下发的网络访问信息进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的网络访问信息和所述网络访问信息的响应信息的传输;Each lower computer driver instance processes the network access information issued through the corresponding host interface, and communicates with the chip firmware through the assigned wireless link layer management interface for exclusive use. and the transmission of response information of the network access information;
    所述芯片固件被配置为:The chip firmware is configured as:
    为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到无线接入点;以及Create corresponding wireless network interfaces for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface; and
    将所述网络访问信息的响应信息经由对应的无线链路层管理接口发送到所述下位机模块。The response information of the network access information is sent to the lower computer module via the corresponding wireless link layer management interface.
  2. 根据权利要求1所述的无线网卡,其特征在于,所述下位机模块包括驱动实例管理子模块,所述下位机模块被进一步配置为由所述驱动实例管理子模块:The wireless network card according to claim 1, characterized in that the lower computer module includes a driver instance management sub-module, and the lower computer module is further configured to be driven by the driver instance management sub-module:
    经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载;管理各个主机系统的网络配置信息和睡眠/唤醒请求信息;向上位机驱动模块同步公共的硬件状态信息;向各个主机系统同步当前连接的网络信息。Provide loading/unloading of driver instances for each host system through the host interface of each host system; manage the network configuration information and sleep/wakeup request information of each host system; synchronize common hardware status information to the host computer driver module; The system synchronizes the currently connected network information.
  3. 根据权利要求2所述的无线网卡,其特征在于,所述下位机模块被进一步配置为:The wireless network card according to claim 2, characterized in that the lower computer module is further configured to:
    由所述驱动实例管理子模块监测各个主机系统的操作系统的休眠状态/唤醒状态, The driver instance management sub-module monitors the sleep state/wake-up state of the operating system of each host system,
    当各个主机系统中的每一个的操作系统均进入休眠状态时,所述下位机模块转入休眠模式;When the operating system of each host system enters the sleep state, the slave computer module enters the sleep mode;
    当各个主机系统中的至少一个的操作系统进入唤醒状态时,所述下位机模块转入唤醒模式。When the operating system of at least one of the host systems enters the wake-up state, the lower computer module switches to the wake-up mode.
  4. 根据权利要求1-3中任一项所述的无线网卡,其特征在于,所述下位机模块还包括驱动实例子模块,所述网络访问信息至少包括命令和/或数据,所述下位机模块被进一步配置为:The wireless network card according to any one of claims 1 to 3, characterized in that the lower computer module further includes a driver instance sub-module, the network access information at least includes commands and/or data, and the lower computer module is further configured as:
    由所述驱动实例子模块,为每个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口;The driver instance sub-module creates an independent lower computer driver instance for each host interface, and allocates an exclusive wireless link layer management interface to each lower computer driver instance;
    由所述下位机驱动实例对经由对应的主机接口下发的命令和/或数据进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的命令和/或数据,以及所述命令和/或数据的响应信息的传输。The lower computer driver instance processes the commands and/or data issued through the corresponding host interface, and communicates with the chip firmware through the assigned wireless link layer management interface for exclusive use. Transmission of commands and/or data, and response information to said commands and/or data.
  5. 根据权利要求1-3中任一项所述的无线网卡,其特征在于,各个无线网络接口与相同或不同的无线接入点连接,所述芯片固件被进一步配置为:The wireless network card according to any one of claims 1-3, characterized in that each wireless network interface is connected to the same or different wireless access points, and the chip firmware is further configured to:
    为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到相同或不同的无线接入点。A corresponding wireless network interface is created for each wireless link layer management interface, so that the processed network access information is sent to the same or different wireless access points via the corresponding network interface.
  6. 根据权利要求1-3中任一项所述的无线网卡,其特征在于,各个无线网络接口分时地或同时地与无线接入点连接,所述芯片固件被进一步配置为:The wireless network card according to any one of claims 1-3, characterized in that each wireless network interface is connected to the wireless access point in a time-sharing or simultaneous manner, and the chip firmware is further configured to:
    为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息分时地或同时地经由对应的网络接口发送到无线接入点。A corresponding wireless network interface is created for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface in a time-sharing or simultaneous manner.
  7. 根据权利要求1-3中任一项所述的无线网卡,所述主机接口至少包括USB、SDIO、SPI、UART、PCIE中的一种。According to the wireless network card according to any one of claims 1-3, the host interface includes at least one of USB, SDIO, SPI, UART, and PCIE.
  8. 根据权利要求1-3中任一项所述的无线网卡,所述无线网络接口至少包括WiFi STA网络接口。 According to the wireless network card according to any one of claims 1-3, the wireless network interface at least includes a WiFi STA network interface.
  9. 一种用于主机的无线通信方法,适用于无线网卡,所述主机包括至少两个主机系统,所述至少两个主机系统中的各个具有相同或不同的操作系统,所述无线网卡包括下位机模块、芯片固件和至少两个上位机驱动模块,其中,所述至少两个上位机驱动模块与各个主机系统一一对应,其特征在于,A wireless communication method for a host, suitable for wireless network cards. The host includes at least two host systems, each of the at least two host systems has the same or different operating systems. The wireless network card includes a lower computer. module, chip firmware and at least two host computer drive modules, wherein the at least two host computer drive modules correspond to each host system one-to-one, characterized by:
    由各个上位机驱动模块为对应的主机系统提供与所述主机系统的主机接口的类别相匹配的驱动程序;Each host computer driver module provides the corresponding host system with a driver that matches the type of the host interface of the host system;
    由下位机模块:From the lower computer module:
    为各个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口;Create an independent lower computer driver instance for each host interface, and assign an exclusive wireless link layer management interface to each lower computer driver instance;
    经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载、配置信息的管理,并向各个主机系统同步状态信息和网络信息;Through the host interface of each host system, it provides loading/unloading of driver instances, management of configuration information for each host system, and synchronizes status information and network information to each host system;
    由各个下位机驱动实例对经由对应的主机接口下发的网络访问信息进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的网络访问信息和所述网络访问信息的响应信息的传输;Each lower computer driver instance processes the network access information issued through the corresponding host interface, and communicates with the chip firmware through the assigned wireless link layer management interface for exclusive use. and the transmission of response information of the network access information;
    由芯片固件:By chip firmware:
    为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到无线接入点;以及Create corresponding wireless network interfaces for each wireless link layer management interface, so that the processed network access information is sent to the wireless access point via the corresponding network interface; and
    将所述网络访问信息的响应信息经由对应的无线链路层管理接口发送到所述下位机模块。The response information of the network access information is sent to the lower computer module via the corresponding wireless link layer management interface.
  10. 根据权利要求9所述的无线通信方法,其特征在于,所述下位机模块包括驱动实例管理子模块,由所述驱动实例管理子模块:The wireless communication method according to claim 9, characterized in that the lower computer module includes a driving instance management sub-module, and the driving instance management sub-module:
    经由各个主机系统的主机接口,为各个主机系统提供驱动实例的加载/卸载;管理各个主机系统的网络配置信息和睡眠/唤醒请求信息;向上位机驱动模块同步公共的硬件状态信息;向各个主机系统同步当前连接的网络信息。Provide loading/unloading of driver instances for each host system through the host interface of each host system; manage the network configuration information and sleep/wakeup request information of each host system; synchronize common hardware status information to the host computer driver module; The system synchronizes the currently connected network information.
  11. 根据权利要求10所述的无线通信方法,其特征在于,由所述驱动实例管理子模块监测各个主机系统的操作系统的休眠状态/唤醒状态;The wireless communication method according to claim 10, characterized in that the driver instance management sub-module monitors the sleep state/wake-up state of the operating system of each host system;
    当各个主机系统中的每一个的操作系统均进入休眠状态时,所述下位机模块转入休眠模式; When the operating system of each host system enters the sleep state, the slave computer module enters the sleep mode;
    当各个主机系统中的至少一个的操作系统进入唤醒状态时,所述下位机模块转入唤醒模式。When the operating system of at least one of the host systems enters the wake-up state, the lower computer module switches to the wake-up mode.
  12. 根据权利要求9-11任一所述的无线通信方法,其特征在于,所述下位机模块还包括驱动实例子模块,所述网络访问信息至少包括命令和/或数据;The wireless communication method according to any one of claims 9-11, characterized in that the lower computer module further includes a driver instance sub-module, and the network access information at least includes commands and/or data;
    由所述驱动实例子模块为每个主机接口创建独立的下位机驱动实例,并为各个下位机驱动实例分配独占使用的无线链路层管理接口;The driver instance sub-module creates an independent lower computer driver instance for each host interface, and assigns an exclusive wireless link layer management interface to each lower computer driver instance;
    由所述下位机驱动实例对经由对应的主机接口下发的命令和/或数据进行处理,并经由所分配的独占使用的无线链路层管理接口,与所述芯片固件之间进行处理后的命令和/或数据,以及所述命令和/或数据的响应信息的传输。The lower computer driver instance processes the commands and/or data issued through the corresponding host interface, and communicates with the chip firmware through the assigned wireless link layer management interface for exclusive use. Transmission of commands and/or data, and response information to said commands and/or data.
  13. 根据权利要求9-11任一所述的无线通信方法,其特征在于,各个无线网络接口与相同或不同的无线接入点连接,由所述芯片固件为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息经由对应的网络接口发送到相同或不同的无线接入点。The wireless communication method according to any one of claims 9-11, characterized in that each wireless network interface is connected to the same or different wireless access point, and the chip firmware creates a corresponding wireless link layer management interface for each wireless link layer management interface. The wireless network interface enables the processed network access information to be sent to the same or different wireless access points via the corresponding network interface.
  14. 根据权利要求9-11任一所述的无线通信方法,其特征在于,各个无线网络接口分时地或同时地与无线接入点连接,由所述芯片固件为各个无线链路层管理接口创建对应的无线网络接口,使得处理后的网络访问信息分时地或同时地经由对应的网络接口发送到无线接入点。 The wireless communication method according to any one of claims 9-11, characterized in that each wireless network interface is connected to the wireless access point in a time-sharing or simultaneous manner, and the chip firmware creates a connection for each wireless link layer management interface. The corresponding wireless network interface enables the processed network access information to be sent to the wireless access point via the corresponding network interface in a time-sharing or simultaneous manner.
PCT/CN2023/104356 2022-07-29 2023-06-30 Wireless network card and wireless communication method for host WO2024022017A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210909252.0A CN115175289A (en) 2022-07-29 2022-07-29 Wireless network card and wireless communication method for host
CN202210909252.0 2022-07-29

Publications (1)

Publication Number Publication Date
WO2024022017A1 true WO2024022017A1 (en) 2024-02-01

Family

ID=83478222

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/104356 WO2024022017A1 (en) 2022-07-29 2023-06-30 Wireless network card and wireless communication method for host

Country Status (2)

Country Link
CN (1) CN115175289A (en)
WO (1) WO2024022017A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115175289A (en) * 2022-07-29 2022-10-11 恒玄科技(北京)有限公司 Wireless network card and wireless communication method for host

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067763A1 (en) * 2005-09-19 2007-03-22 Adc Telecommunications, Inc. Mechanism to upgrade system capability without affecting service
CN101645873A (en) * 2008-08-07 2010-02-10 联想(北京)有限公司 Method for realizing network isolation in environments of computer and virtual machine
CN108616382A (en) * 2018-03-07 2018-10-02 华为技术有限公司 Upgrade method, apparatus, network interface card and the equipment of network interface card firmware
CN112887401A (en) * 2021-01-25 2021-06-01 宁波均联智行科技股份有限公司 Network access method based on multiple operating systems and vehicle machine system
CN114647455A (en) * 2022-03-29 2022-06-21 苏州浪潮智能科技有限公司 Method and device for realizing compatibility of operating system and network card and computer equipment
CN115175289A (en) * 2022-07-29 2022-10-11 恒玄科技(北京)有限公司 Wireless network card and wireless communication method for host

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070067763A1 (en) * 2005-09-19 2007-03-22 Adc Telecommunications, Inc. Mechanism to upgrade system capability without affecting service
CN101645873A (en) * 2008-08-07 2010-02-10 联想(北京)有限公司 Method for realizing network isolation in environments of computer and virtual machine
CN108616382A (en) * 2018-03-07 2018-10-02 华为技术有限公司 Upgrade method, apparatus, network interface card and the equipment of network interface card firmware
CN112887401A (en) * 2021-01-25 2021-06-01 宁波均联智行科技股份有限公司 Network access method based on multiple operating systems and vehicle machine system
CN114647455A (en) * 2022-03-29 2022-06-21 苏州浪潮智能科技有限公司 Method and device for realizing compatibility of operating system and network card and computer equipment
CN115175289A (en) * 2022-07-29 2022-10-11 恒玄科技(北京)有限公司 Wireless network card and wireless communication method for host

Also Published As

Publication number Publication date
CN115175289A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
US10365830B2 (en) Method, device, and system for implementing hardware acceleration processing
CN109976925B (en) Method and system based on mixed multi-system inter-core real-time communication
CA2933712C (en) Resource processing method, operating system, and device
US9940143B2 (en) Using peripheral component interconnect express vendor-defined message (PCIe-VDM) and inter-integrated circuit (I2C) transport for network communications
US8738953B2 (en) Power-saving device for universal serial bus modem apparatus and method thereof
EP2169514B1 (en) Methods and systems to perform a computer task in a reduced power consumption state
CN103885833B (en) A kind of method for managing resource and system
WO2024022017A1 (en) Wireless network card and wireless communication method for host
CN113312143B (en) Cloud computing system, command processing method and virtualization simulation device
WO2012150608A1 (en) Peripheral device sharing in multi host computing systems
US10055233B2 (en) Multimedia terminal for vehicle and data processing method thereof
US20190013962A1 (en) Modular communication framework
CN114817120A (en) Cross-domain data sharing method, system-on-chip, electronic device and medium
US20150089276A1 (en) Method for Shortening Enumeration of Tightly Coupled USB Device
CN116830082A (en) Startup control method and device of embedded system, storage medium and electronic equipment
CN116868167A (en) Operation control method and device of operating system, embedded system and chip
US20200125380A1 (en) Guest operating system wake-up method, device, electronic apparatus, and readable medium
CN116302141B (en) Serial port switching method, chip and serial port switching system
CN116521324B (en) Interrupt virtualization processing method and device and electronic equipment
US11068430B2 (en) Configuration parameter transfer
CN116521209A (en) Upgrading method and device of operating system, storage medium and electronic equipment
KR20100127347A (en) Apparatus and method for supporting suspend of composite network device
CN116848519A (en) Method and device for generating hardware interface signal and electronic equipment
CN115695058A (en) System, apparatus and method for power communication according to CXL
CN114115703A (en) Bare metal server online migration method and system

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

Country of ref document: EP

Kind code of ref document: A1