Network card connection control method and electronic device
By introducing a connection switching module into the wireless network card, the USB standard can be dynamically switched according to the capabilities of the wireless hotspot, thus solving the interference problem between the USB interface and the Wi-Fi frequency band and achieving stable and efficient data transmission.
Patent Information
- Application Number
- CN202510693834.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2026-11-27
AI Technical Summary
In existing electronic devices with USB-based wireless network cards, there is interference between the operating frequency of the USB interface and the operating frequency band of Wi-Fi, requiring frequent adjustments to the operating mode to reduce interference.
By introducing a connection switching module into the wireless network card, the USB standard can be dynamically switched according to the capabilities of the wireless hotspot, ensuring data transmission under the appropriate USB standard and reducing the frequency of USB standard switching caused by frequency band changes.
While ensuring data transfer speed, the frequency of USB interface adjustment is reduced, wireless network signal interference is decreased, and the stability and efficiency of data transfer are improved.
Smart Images

Figure CN123185571A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data transmission control technology, and more particularly to network card connection control methods and electronic devices. Background Technology
[0002] With the continuous development of electronic technology, there are more and more ways to realize data transmission based on electronic devices, and the scenarios for data transmission by combining multiple data transmission methods are becoming more and more diverse. Consequently, there are more and more data transmission application scenarios that can be supported, greatly enriching people's various information transmission and communication needs.
[0003] Among the various data transmission methods, Wi-Fi is a wireless local area network technology based on the IEEE 802.11 standard, which enables data transmission between electronic devices via radio waves. Its core features include high speed, flexible networking, and wide compatibility, making it an important component of modern network infrastructure. Currently, the Wi-Fi protocol has evolved to Wi-Fi 7, and the maximum physical layer speed of Wi-Fi network cards has increased to 5765 Mbps. The connection between Wi-Fi modules and the internal processors of electronic devices typically uses a compatible, hot-swappable USB interface.
[0004] When testing electronic devices using existing USB-based wireless network cards, the inventors discovered that in order to reduce interference between the USB interface's operating frequency and the Wi-Fi operating frequency band, the USB interface needs to frequently adjust its operating mode to accommodate changes in the Wi-Fi operating frequency band. Summary of the Invention
[0005] This invention provides a network card connection control method and an electronic device to solve the technical problem that existing electronic devices based on USB interface wireless network cards need to adjust their operating mode frequently to accommodate changes in the Wi-Fi operating frequency band in order to reduce interference between the USB interface's operating frequency and the Wi-Fi operating frequency band.
[0006] In a first aspect, embodiments of this application provide a wireless network card for a display device. The display device includes a first system module, a second system module, and a connection switching module. The connection switching module includes a first set of interfaces, a second set of interfaces, and a third set of interfaces. The connection pins of the wireless network card are connected to the first set of interfaces. The first system module is installed in the display device through a preset interface. The connection pins in the preset interface that support USB connection are connected to the second set of interfaces, and the connection pins in the second system module that support USB connection are connected to the third set of interfaces. The connection switching module is used to switch the connection between the first set of interfaces and the second set of interfaces or the third set of interfaces for USB data transmission according to the operating status of the first system module and the second system module. The network card connection control method includes: Determine the target system currently in operation; the target system is either the first system module or the second system module. Claims of the ability to establish a wireless connection with a Wi-Fi hotspot and acquire Wi-Fi hotspot data in site mode; If the operating bandwidth of the wireless hotspot is determined to be the first bandwidth according to the capability claims, USB data transmission is performed between the wireless network card and the target system using the first USB standard through the connection switching module. If the operating bandwidth of the wireless hotspot is determined to be the second bandwidth according to the capability claims, USB data transmission is performed between the wireless network card and the target system using the second USB standard through the connection switching module. The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard.
[0007] As described above, in a display device comprising multiple system modules, a wireless network card switches between the currently running first or second system module via a connection switching module to provide wireless network services. During operation, the wireless network card acquires the capability claims of connected wireless hotspots. If, based on the capability claims, the operating bandwidth of the wireless hotspot belongs to the first bandwidth, USB data transmission is performed under the first USB standard via the connection switching module. If, based on the capability claims, the operating bandwidth of the wireless hotspot belongs to the second bandwidth, USB data transmission is performed under the second USB standard via the connection switching module. The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard. If the upper limit of the data transmission speed corresponding to the operating bandwidth of the wireless hotspot corresponds to the upper limit of the data transmission speed of the first USB standard, and the first USB standard has minimal interference with the wireless network signal under the first bandwidth, USB data transmission is performed under the first USB standard via the connection switching module. If the upper limit of the data transmission speed corresponding to the operating bandwidth of the wireless hotspot corresponds to the upper limit of the data transmission speed under the second USB standard, and the second USB standard does not interfere with the wireless network signal under the second bandwidth, USB data transmission is performed under the second USB standard via the connection switching module. The USB data transfer method eliminates the need for adjustments to the data transfer status based on the switching of the wireless network card's operating frequency band, thus reducing the frequency of USB interface adjustment.
[0008] The claimed ability to establish a wireless connection with a Wi-Fi hotspot and acquire Wi-Fi hotspot information in site mode includes: Claims of the ability to acquire wireless hotspots during the process of establishing a wireless connection with a wireless hotspot in site mode.
[0009] The aforementioned claims that the ability to acquire Wi-Fi hotspots during connection establishment includes USB data transfer using a suitable USB standard during connection establishment.
[0010] The claimed ability to establish a wireless connection with a Wi-Fi hotspot and acquire Wi-Fi hotspot information in site mode includes: Establish a wireless connection with a Wi-Fi hotspot in site mode; Claims of the ability to acquire wireless hotspots at preset intervals and / or preset transmission status changes during data transmission based on wireless connections.
[0011] The above-mentioned claims regarding the ability to acquire wireless hotspots intermittently during data transmission based on wireless connections, and the corresponding use of appropriate USB standards for USB data transmission, ensure rapid adaptation to the wireless network provided by the wireless hotspot during actual use.
[0012] The preset transmission status changes include changes in packet loss rate and changes in transmission speed.
[0013] As mentioned above, when there is a change in transmission status that may be caused by interference, the ability to acquire wireless hotspots will be triggered accordingly, so as to quickly control the connection in response to the change in transmission status.
[0014] The first bandwidth includes 20MHz and 40MHz, and the second bandwidth includes 80MHz, 160MHz and 320MHz.
[0015] As mentioned above, the bandwidth used in different frequency bands of Wi-Fi is partially the same and partially different. Determining the corresponding USB standard directly based on the bandwidth without considering the frequency band can effectively reduce the need to switch USB standards due to frequency band changes.
[0016] The first USB standard is USB 2.0, and the second USB standard is USB 3.0.
[0017] The above-mentioned USB 2.0 combination, which has a data transfer speed upper limit close to that of the first bandwidth and causes minimal interference to each frequency band, is used for data transfer. The USB 3.0 combination, which has a data transfer speed upper limit close to that of the second bandwidth and causes minimal interference to each frequency band of the second bandwidth, is used for data transfer. This reduces the frequency of USB standard switching while ensuring data transfer speed.
[0018] The network card connection control method also includes: If the USB standard used for data transmission changes, the standard change information is sent to the target system via a connection switching module.
[0019] As mentioned above, in the event of a change in the USB standard, a standard change information is sent to ensure normal data transmission.
[0020] Secondly, embodiments of this application provide a network interface card (NIC) connection control method. This NIC connection control method is used in a terminal device, wherein the connection pins of a wireless network interface card are connected to the processor of the terminal device for USB data transmission. The NIC connection control method includes: Claims of the ability to establish a wireless connection with a Wi-Fi hotspot and acquire Wi-Fi hotspot data in site mode; If the wireless hotspot's operating bandwidth is determined to be within the first bandwidth based on the capability claims, USB data transfer is performed under the first USB standard. If the wireless hotspot's operating bandwidth is determined to be the second bandwidth based on the capability claims, USB data transfer is performed under the second USB standard. The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard.
[0021] As described above, the wireless network card's connection pins connect to the terminal device's processor for USB data transfer. During operation, the wireless network card claims the ability to acquire connected wireless hotspots. If, based on the capability claim, the wireless hotspot's operating bandwidth belongs to a first bandwidth, USB data transfer is performed under a first USB standard via a connection switching module. If, based on the capability claim, the wireless hotspot's operating bandwidth belongs to a second bandwidth, USB data transfer is performed under a second USB standard via a connection switching module. The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard. When the upper limit of the data transfer speed corresponding to the wireless hotspot's operating bandwidth corresponds to the upper limit of the data transfer speed of the first USB standard, and the first USB standard has minimal interference with wireless network signals under the first bandwidth, USB data transfer is performed under the first USB standard via a connection switching module. When the upper limit of the data transfer speed corresponding to the wireless hotspot's operating bandwidth corresponds to the upper limit of the data transfer speed under the second USB standard, and the second USB standard does not interfere with wireless network signals under the second bandwidth, USB data transfer is performed under the second USB standard via a connection switching module. The USB data transfer method eliminates the need for adjustments to the data transfer status based on the switching of the wireless network card's operating frequency band, thus reducing the frequency of USB interface adjustment.
[0022] The claimed ability to establish a wireless connection with a Wi-Fi hotspot and acquire Wi-Fi hotspot information in site mode includes: Claims of the ability to acquire wireless hotspots during the process of establishing a wireless connection with a wireless hotspot in site mode.
[0023] The aforementioned claims that the ability to acquire Wi-Fi hotspots during connection establishment includes USB data transfer using a suitable USB standard during connection establishment.
[0024] The claimed ability to establish a wireless connection with a Wi-Fi hotspot and acquire Wi-Fi hotspot information in site mode includes: Establish a wireless connection with a Wi-Fi hotspot in site mode; Claims of the ability to acquire wireless hotspots at preset intervals and / or preset transmission status changes during data transmission based on wireless connections.
[0025] The above-mentioned claims regarding the ability to acquire wireless hotspots intermittently during data transmission based on wireless connections, and the corresponding use of appropriate USB standards for USB data transmission, ensure rapid adaptation to the wireless network provided by the wireless hotspot during actual use.
[0026] The preset transmission status changes include changes in packet loss rate and changes in transmission speed.
[0027] As mentioned above, when there is a change in transmission status that may be caused by interference, the ability to acquire wireless hotspots will be triggered accordingly, so as to quickly control the connection in response to the change in transmission status.
[0028] The first bandwidth includes 20MHz and 40MHz, and the second bandwidth includes 80MHz, 160MHz and 320MHz.
[0029] As mentioned above, the bandwidth used in different frequency bands of Wi-Fi is partially the same and partially different. Determining the corresponding USB standard directly based on the bandwidth without considering the frequency band can effectively reduce the need to switch USB standards due to frequency band changes.
[0030] The first USB standard is USB 2.0, and the second USB standard is USB 3.0.
[0031] The above-mentioned USB 2.0 combination, which has a data transfer speed upper limit close to that of the first bandwidth and causes minimal interference to each frequency band, is used for data transfer. The USB 3.0 combination, which has a data transfer speed upper limit close to that of the second bandwidth and causes minimal interference to each frequency band of the second bandwidth, is used for data transfer. This reduces the frequency of USB standard switching while ensuring data transfer speed.
[0032] Thirdly, a network card connection control method, characterized in that it is used in a terminal device, wherein the connection pins of the wireless network card are connected to the processor of the terminal device for USB data transmission; the network card connection control method includes: Claims of the ability to establish a wireless connection with a Wi-Fi hotspot and acquire Wi-Fi hotspot data in site mode; If the wireless hotspot's operating bandwidth is determined to be the first bandwidth based on the capability claims, and the wireless standard is the first wireless standard, then USB data transfer is performed under the first USB standard. If the wireless hotspot's operating bandwidth is determined to be the first bandwidth based on the capability claims, and the wireless standard is the second wireless standard, then USB data transfer is performed under the second USB standard. If the wireless hotspot's operating bandwidth is determined to be the second bandwidth based on the capability claims, USB data transfer is performed under the second USB standard. Wherein, the first bandwidth is smaller than the second bandwidth; the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard; under the same operating bandwidth, the maximum transmission speed of the second wireless standard is greater than the maximum transmission speed of the first wireless standard; the maximum transmission speed of the second wireless standard under the first bandwidth is greater than the maximum transmission speed of the first USB standard.
[0033] Fourthly, embodiments of this application provide an electronic device, which includes: One or more processors; Memory, used to store one or more computer programs; When one or more computer programs are executed by one or more processors, electronic devices enable network interface card (NIC) connection control methods as described in the first, second, or third aspects.
[0034] The electronic device in the fourth aspect can be used to execute the network card connection control method provided in any of the above embodiments, and has corresponding functions and beneficial effects. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0036] Figure 1 This is a flowchart of a network card connection control method provided in an embodiment of this application.
[0037] Figure 2 This is a schematic diagram of the structure of a display device provided in an embodiment of this application.
[0038] Figure 3 A flowchart illustrating another network interface card (NIC) connection control method provided in this application embodiment.
[0039] Figure 4 A flowchart illustrating another network card connection control method provided in this application embodiment.
[0040] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are for illustrative purposes only and not for limiting the invention. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the drawings, not all of the structures.
[0042] It should be noted that, due to space limitations, this application specification does not exhaustively list all possible implementation methods. Those skilled in the art should be able to conceive after reading this application specification that, as long as the technical features do not contradict each other, any combination of technical features can constitute an optional implementation method.
[0043] The embodiments are described in detail below.
[0044] With the continuous development of electronic technology, there are more and more ways to realize data transmission based on electronic devices, and the scenarios for data transmission by combining multiple data transmission methods are becoming more and more diverse. Consequently, there are more and more data transmission application scenarios that can be supported, greatly enriching people's various information transmission and communication needs.
[0045] Among the various data transmission methods, Wi-Fi is a wireless local area network technology based on the IEEE 802.11 standard, which enables data transmission between electronic devices via radio waves. Its core features include high speed, flexible networking, and wide compatibility, making it an important component of modern network infrastructure. Currently, the Wi-Fi protocol has evolved to Wi-Fi 7, and the maximum physical layer speed of Wi-Fi network cards has increased to 5765 Mbps. The connection between Wi-Fi modules and the internal processors of electronic devices typically uses a compatible, hot-swappable USB interface.
[0046] When testing electronic devices using existing USB-based wireless network cards, the inventors discovered that in order to reduce interference between the USB interface's operating frequency and the Wi-Fi operating frequency band, the USB interface needs to frequently adjust its operating mode to accommodate changes in the Wi-Fi operating frequency band.
[0047] To address the aforementioned technical issues, the display device comprises multiple system modules. The wireless network card (NIC) switches between the currently running first and second system modules via a connection switching module to provide wireless network services. During operation, the NIC acquires the capability claims of connected wireless hotspots. If, based on the capability claims, the operating bandwidth of the wireless hotspot belongs to the first bandwidth, USB data transfer is performed under the first USB standard via the connection switching module. If, based on the capability claims, the operating bandwidth of the wireless hotspot belongs to the second bandwidth, USB data transfer is performed under the second USB standard via the connection switching module. The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard. When the upper limit of the data transfer speed corresponding to the operating bandwidth of the wireless hotspot corresponds to the upper limit of the data transfer speed of the first USB standard, and the first USB standard has minimal interference with the wireless network signal under the first bandwidth, USB data transfer is performed under the first USB standard via the connection switching module. Conversely, when the upper limit of the data transfer speed corresponding to the operating bandwidth of the wireless hotspot corresponds to the upper limit of the data transfer speed under the second USB standard, and the second USB standard does not interfere with the wireless network signal under the second bandwidth, USB data transfer is performed under the second USB standard via the connection switching module. The USB data transfer method eliminates the need to adjust the data transfer status based on the switching of the wireless network card's operating frequency band, thus reducing the frequency of USB interface adjustment.
[0048] The electronic devices used in this solution can be terminal devices or display devices, such as smartphones, personal computers, interactive smart panels, etc.
[0049] Taking interactive smart flat panels as an example, they integrate one or more functions such as projectors, electronic whiteboards, screens, speakers, televisions, and video conferencing terminals.
[0050] Typically, an interactive smart tablet is equipped with at least one operating system. This operating system includes, but is not limited to, Android, Linux, Windows, and Huawei HarmonyOS. It controls and coordinates the interactive smart tablet and external devices, enabling the various independent hardware components within the interactive smart tablet to work together as a stable whole. The architectural layer at which the operating system resides is defined as the system layer. Building upon the system layer, the interactive smart tablet contains applications developed to meet the needs of users in different fields and for different problems. The corresponding architectural layer is the application layer.
[0051] It should be understood that any device capable of transmitting data based on any type of wireless signal can be considered as the electronic device described above, and the network card connection control method in the embodiments of this application can be implemented accordingly. The interactive smart tablet mentioned above is only used as an example.
[0052] Figure 1 This is a flowchart of a network card connection control method provided in an embodiment of this application, such as... Figure 1 As shown, the network interface card (NIC) connection control method includes, but is not limited to, steps S110-S140. The NIC connection control method provided in this application embodiment is used in the interactive smart device described above.
[0053] like Figure 2 As shown, the interactive smart device 1 mentioned above is a display device, including a first system module 11, a second system module 12, a connection switching module 13, and a wireless network card 14 (exemplarily a Wi-Fi network card).
[0054] The first system module 11 can be mounted on the circuit board of the interactive smart device 1. The first system module 11 runs a first operating system, which can be one of the following: Windows, Android, Linux, HarmonyOS, Kylin OS, etc. Figure 2 This example uses a Windows system.
[0055] The first system module 12 can be installed on an interactive smart device via a preset interface. For example, the second system module can be designed as a pluggable and detachable module, which can be installed on the interactive smart device via a pluggable interface. The second system module 12 runs a second operating system, which is different from the first operating system. This second operating system can be one of Windows, Android, Linux, HarmonyOS, Kylin OS, etc. Figure 2 This example uses the Android system.
[0056] The connection switching module 13 includes a first set of interfaces, a second set of interfaces, and a third set of interfaces. The connection pins of the wireless network card 14 (exemplarily a Wi-Fi network card) are connected to the first set of interfaces. The first system module 11 is installed on the display device through a preset interface. The connection pins in the preset interface that support USB connection are connected to the second set of interfaces. The connection pins in the second system module 12 that support USB connection are connected to the third set of interfaces. The connection switching module 13 is used to switch the first set of interfaces to maintain a connection with the second set of interfaces or the third set of interfaces to perform USB data transmission according to the operating status of the first system module 11 and the second system module 12.
[0057] Understandably, the interactive smart device has a first system module 11 and a second system module 12, each running different operating systems, allowing the user to switch between them according to their needs. When the user switches to the operating system of the first system module 11, the connection switching module 13 switches the connection between the first set of interfaces and the second set of interfaces, enabling the first system module 11 to use the wireless network card for data transmission via the connection switching module 13. When the user switches to the operating system of the second system module 12, the connection switching module 13 switches the connection between the first set of interfaces and the third set of interfaces, enabling the second system module 13 to use the wireless network card for data transmission via the connection switching module 13.
[0058] To achieve USB data transmission according to the corresponding protocol, multiple low-voltage wires are required to transmit and receive signals according to predefined standards, ultimately realizing complete USB data transmission. Pre-defined interfaces include, for example, a 40-pin OPS interface and an 80-pin OPS interface. Some pins of each type of pre-defined interface are defined for implementing USB data transmission. In this embodiment, the connection switch is used to implement USB data transmission. One stationary end (i.e., the first group of interfaces) and two moving ends (i.e., the second group of interfaces and the third group of interfaces) each include multiple interfaces to achieve the corresponding low-voltage wire connections required by the USB protocol.
[0059] like Figure 1 As shown, the network card connection control method includes: Step S110: Determine the target system currently in operation. The target system is either the first system module or the second system module.
[0060] During operation, user actions or the overall control logic of the display device in this embodiment may cause the currently running target system, i.e., the actual system module used, to switch between the first system module and the second system module. This switching of system modules will correspondingly cause a change in the object of network data transmission by the wireless network card. This change is implemented through the switching process of the connection switching module 13 described above. When the object of network data transmission by the wireless network card is determined, the specific transmission is implemented through steps S120-S140.
[0061] Step S120: Establish a wireless connection with the wireless hotspot in site mode and obtain the capability claims of the wireless hotspot.
[0062] Capability claims refer to devices (such as routers, access points (APs), or terminal devices) announcing their supported hardware, software, or protocol features to the network or other devices via protocol messages. This mechanism is fundamental to network negotiation and optimized communication, ensuring efficient collaboration between devices. For example, a beacon frame can claim that an AP periodically broadcasts supported data rates, encryption methods (such as WPA3), frequency bands (2.4GHz / 5GHz), MIMO capabilities, etc. In association request / response messages, terminal devices inform the AP of their supported data rates and channel widths (such as 80MHz), and the AP confirms compatibility. HT / VHT / HE capability fields declare support for 802.11n (HT), 802.11ac (VHT), and Wi-Fi 6 (HE), including maximum spatial stream count and modulation scheme.
[0063] In one alternative implementation, during the establishment of a wireless connection with the wireless hotspot in site mode, the capability claims of the wireless hotspot are acquired. That is, the capability claims of the wireless hotspot are acquired during the connection establishment process, and USB data transfer is performed using a suitable USB standard at the time of connection establishment.
[0064] In another optional implementation, a wireless connection is established with the wireless hotspot in site mode; during data transmission based on the wireless connection, the ability to acquire the wireless hotspot is triggered at preset intervals and / or by preset transmission state changes. That is, during data transmission based on the wireless connection, the ability to acquire the wireless hotspot is acquired at intervals during actual use, and corresponding USB data transmission is performed using an appropriate USB standard, ensuring rapid adaptation to the wireless network provided by the wireless hotspot during actual use.
[0065] Preset transmission status changes can include changes in packet loss rate and transmission speed. When a transmission status change occurs that may be caused by interference, the ability to acquire a Wi-Fi hotspot is triggered accordingly to quickly adjust the connection control in response to the transmission status change.
[0066] Step S130: If the operating bandwidth of the wireless hotspot is determined to be the first bandwidth according to the capability claim, USB data transmission is performed between the wireless network card and the target system using the first USB standard through the connection switching module.
[0067] Step S140: If the operating bandwidth of the wireless hotspot is determined to be the second bandwidth according to the capability claim, USB data transmission is performed between the wireless network card and the target system using the second USB standard through the connection switching module.
[0068] The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard.
[0069] In the embodiments of this application, steps S130 and S140 are described in combination as specific control processes based on capability claims. The inventors, through in-depth analysis of the Wi-Fi standard protocols for implementing wireless communication, discovered that, taking Wi-Fi 7 as an example, the 2.4 GHz band supports 20 MHz and 40 MHz bandwidths. The 5 GHz (5.15-5.85 GHz) and 6 GHz (5.955-7.115 GHz) bands support bandwidths of 20 MHz, 40 MHz, 80 MHz, 160 MHz, and 320 MHz. The physical layer rate of the Wi-Fi module is referenced as follows: (1) 802.11ax (Wi-Fi 6), number of spatial streams is 2, GI=800ns, BW=40MHz, physical layer rate is 573Mbps.
[0070] (2) 802.11ax (Wi-Fi 6), number of spatial streams is 2, GI=800ns, BW=20MHz, physical layer rate is 286Mbps.
[0071] (3) 802.11be (Wi-Fi 7), number of spatial streams is 2, GI=800ns, BW=40MHz, physical layer rate is 688Mbps.
[0072] (4) 802.11be (Wi-Fi 7), number of spatial streams is 2, GI=800ns, BW=20MHz, physical layer rate is 344Mbps.
[0073] Considering the interference in the 2.4GHz band and the efficiency of the physical layer to the transport layer conversion, USB 2.0 (theoretical data transfer speed of 480Mbps) can basically meet the needs of 20MHz and 40MHz Wi-Fi modules.
[0074] Based on the above findings, the inventors propose that when a display device connects to a Wi-Fi hotspot in site mode via a Wi-Fi-based wireless network card, it first detects the claimed capabilities of the Wi-Fi hotspot and confirms whether the wireless network supports 80MHz, 160MHz, and 320MHz. If supported, it switches to USB 3.0 mode (theoretical data transfer speed 5Gbps). If the claimed capabilities of the Wi-Fi hotspot are 20MHz and 40MHz, it maintains USB 2.0 mode. That is, the first bandwidth includes 20MHz and 40MHz, and the second bandwidth includes 80MHz, 160MHz, and 320MHz. Since different frequency bands used by Wi-Fi have partially the same and partially different bandwidths, determining the corresponding USB standard directly based on the bandwidth without considering the frequency band effectively reduces the need to switch USB standards due to frequency band changes. The first USB standard is USB 2.0, and the second USB standard is USB 3.0. For data transmission, the USB 2.0 combination, which has a data transmission speed limit close to that of the first bandwidth and causes minimal interference to each frequency band, is used. For data transmission, the USB 3.0 combination, which has a data transmission speed limit close to that of the second bandwidth and causes minimal interference to each frequency band of the second bandwidth, is used. This reduces the frequency of USB standard switching while ensuring data transmission speed.
[0075] In another alternative implementation, the network interface card (NIC) connection control method further includes: If the USB standard used for data transmission changes, a standard change information is sent to the target system via a connection switching module. This ensures normal data transmission even when the USB standard changes.
[0076] Please refer to Figure 3 This is a flowchart illustrating another network card connection control method provided in an embodiment of the present invention. The network card connection control method in this application embodiment is used for a wireless network card of a terminal device, wherein the connection pins of the wireless network card are connected to the processor of the terminal device for USB data transmission. Figure 3 As shown, the network card connection control method includes, but is not limited to, steps S310-S330.
[0077] Step S310: Establish a wireless connection with the wireless hotspot in site mode and obtain the wireless hotspot's capability claim.
[0078] Step S320: If the operating bandwidth of the wireless hotspot is determined to be the first bandwidth according to the capability claims, USB data transfer is performed under the first USB standard.
[0079] Step S330: If the operating bandwidth of the wireless hotspot is determined to be the second bandwidth according to the capability claims, USB data transfer is performed under the second USB standard; The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard.
[0080] As described above, the wireless network card's connection pins connect to the terminal device's processor for USB data transfer. During operation, the wireless network card claims the ability to acquire connected wireless hotspots. If, based on the capability claim, the wireless hotspot's operating bandwidth falls within a first bandwidth, USB data transfer is performed under a first USB standard via a connection switching module. If, based on the capability claim, the wireless hotspot's operating bandwidth falls within a second bandwidth, USB data transfer is performed under a second USB standard via a connection switching module. The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard. When the upper limit of the data transfer speed corresponding to the wireless hotspot's operating bandwidth corresponds to the upper limit of the data transfer speed under the first USB standard, and the first USB standard has minimal interference with wireless network signals under the first bandwidth, USB data transfer is performed under the first USB standard via a connection switching module. Conversely, when the upper limit of the data transfer speed corresponding to the wireless hotspot's operating bandwidth corresponds to the upper limit of the data transfer speed under the second USB standard, and the second USB standard does not interfere with wireless network signals under the second bandwidth, USB data transfer is performed under the second USB standard via a connection switching module. The USB data transfer method eliminates the need to adjust the data transfer status based on the switching of the wireless network card's operating frequency band, thus reducing the frequency of USB interface adjustment.
[0081] Based on the above embodiments, the capability claim to establish a wireless connection with a wireless hotspot and acquire information about the wireless hotspot in site mode includes: Claims of the ability to acquire wireless hotspots during the process of establishing a wireless connection with a wireless hotspot in site mode.
[0082] The aforementioned claims that the ability to acquire Wi-Fi hotspots during connection establishment includes USB data transfer using a suitable USB standard during connection establishment.
[0083] Based on the above embodiments, the capability claim to establish a wireless connection with a wireless hotspot and acquire information about the wireless hotspot in site mode includes: Establish a wireless connection with a Wi-Fi hotspot in site mode; Claims of the ability to acquire wireless hotspots at preset intervals and / or preset transmission state changes during data transmission based on wireless connections.
[0084] The above-mentioned claims regarding the ability to acquire wireless hotspots intermittently during data transmission based on wireless connections, and the corresponding use of appropriate USB standards for USB data transmission, ensure rapid adaptation to the wireless network provided by the wireless hotspot during actual use.
[0085] Based on the above embodiments, the preset transmission state changes include changes in packet loss rate and changes in transmission speed.
[0086] As mentioned above, when there is a change in transmission status that may be caused by interference, the ability to acquire wireless hotspots will be triggered accordingly, so as to quickly control the connection in response to the change in transmission status.
[0087] Based on the above embodiments, the first bandwidth includes 20MHz and 40MHz, and the second bandwidth includes 80MHz, 160MHz and 320MHz.
[0088] As mentioned above, the bandwidth used in different frequency bands of Wi-Fi is partially the same and partially different. Determining the corresponding USB standard directly based on the bandwidth without considering the frequency band can effectively reduce the need to switch USB standards due to frequency band changes.
[0089] Based on the above embodiments, the first USB standard is USB 2.0, and the second USB standard is USB 3.0.
[0090] The above-mentioned USB 2.0 combination, which has a data transfer speed upper limit close to that of the first bandwidth and causes minimal interference to each frequency band, is used for data transfer. The USB 3.0 combination, which has a data transfer speed upper limit close to that of the second bandwidth and causes minimal interference to each frequency band of the second bandwidth, is used for data transfer. This reduces the frequency of USB standard switching while ensuring data transfer speed.
[0091] For any descriptions not covered in this embodiment, please refer to the network card connection control method in the previous embodiment.
[0092] Please refer to Figure 4 This is a flowchart illustrating another network card connection control method provided in an embodiment of the present invention. The network card connection control method in this application embodiment is used for a wireless network card of a terminal device, wherein the connection pins of the wireless network card are connected to the processor of the terminal device for USB data transmission. Figure 4 As shown, the network card connection control method includes, but is not limited to, steps S410-S440.
[0093] Step S410: Establish a wireless connection with the wireless hotspot in site mode and obtain the wireless hotspot's capability claim.
[0094] Step S420: If the wireless hotspot's operating bandwidth is determined to be the first bandwidth and the wireless standard is the first wireless standard based on the capability claims, USB data transmission is performed under the first USB standard.
[0095] Step S430: If the wireless hotspot's operating bandwidth is determined to be the first bandwidth and the wireless standard is the second wireless standard based on the capability claims, USB data transmission is performed under the second USB standard. Step S440: If the operating bandwidth of the wireless hotspot is determined to be the second bandwidth according to the capability claims, USB data transfer is performed under the second USB standard; Wherein, the first bandwidth is smaller than the second bandwidth; the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard; under the same operating bandwidth, the maximum transmission speed of the second wireless standard is greater than the maximum transmission speed of the first wireless standard; the maximum transmission speed of the second wireless standard under the first bandwidth is greater than the maximum transmission speed of the first USB standard.
[0096] In this embodiment, considering Wi-Fi 6 or higher wireless standards, the maximum network speed under 40MHz bandwidth is approximately 400Mbps. The maximum transmission speed of USB 2.0 is less than this. Therefore, compared to the previous embodiment, when the operating bandwidth belongs to the first bandwidth, the actual wireless standard is further determined, and the corresponding USB standard with the maximum transmission speed adapted to the actual wireless standard is determined. When the operating bandwidth belongs to the second bandwidth, the same processing method as in the previous embodiment is used.
[0097] One possible implementation is that when the wireless network card connects to a wireless hotspot, if the wireless hotspot's capability is claimed to be in the first bandwidth, and the wireless hotspot's RSSI signal strength is relatively strong, generally above -50dB, and the wireless hotspot's capability is claimed to be Wi-Fi 6 or higher (Wi-Fi 6-802.11ax, Wi-Fi 7-802.11be), then it switches to the second USB standard.
[0098] As described above, the wireless network card's connection pins connect to the terminal device's processor for USB data transfer. During operation, the wireless network card claims the ability to acquire connected wireless hotspots. If, based on the capability claim, the wireless hotspot's operating bandwidth falls within a first bandwidth, USB data transfer is performed under a first USB standard via a connection switching module. If, based on the capability claim, the wireless hotspot's operating bandwidth falls within a second bandwidth, USB data transfer is performed under a second USB standard via a connection switching module. The first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard. When the upper limit of the data transfer speed corresponding to the wireless hotspot's operating bandwidth corresponds to the upper limit of the data transfer speed under the first USB standard, and the first USB standard has minimal interference with wireless network signals under the first bandwidth, USB data transfer is performed under the first USB standard via a connection switching module. Conversely, when the upper limit of the data transfer speed corresponding to the wireless hotspot's operating bandwidth corresponds to the upper limit of the data transfer speed under the second USB standard, and the second USB standard does not interfere with wireless network signals under the second bandwidth, USB data transfer is performed under the second USB standard via a connection switching module. The USB data transfer method eliminates the need to adjust the data transfer status based on the switching of the wireless network card's operating frequency band, thus reducing the frequency of USB interface adjustment.
[0099] Based on the above embodiments, the capability claim to establish a wireless connection with a wireless hotspot and acquire information about the wireless hotspot in site mode includes: Claims of the ability to acquire wireless hotspots during the process of establishing a wireless connection with a wireless hotspot in site mode.
[0100] The aforementioned claims that the ability to acquire Wi-Fi hotspots during connection establishment includes USB data transfer using a suitable USB standard during connection establishment.
[0101] Based on the above embodiments, the capability claim to establish a wireless connection with a wireless hotspot and acquire information about the wireless hotspot in site mode includes: Establish a wireless connection with a Wi-Fi hotspot in site mode; Claims of the ability to acquire wireless hotspots at preset intervals and / or preset transmission state changes during data transmission based on wireless connections.
[0102] The above-mentioned claims regarding the ability to acquire wireless hotspots intermittently during data transmission based on wireless connections, and the corresponding use of appropriate USB standards for USB data transmission, ensure rapid adaptation to the wireless network provided by the wireless hotspot during actual use.
[0103] Based on the above embodiments, the preset transmission state changes include changes in packet loss rate and changes in transmission speed.
[0104] As mentioned above, when there is a change in transmission status that may be caused by interference, the ability to acquire wireless hotspots will be triggered accordingly, so as to quickly control the connection in response to the change in transmission status.
[0105] Based on the above embodiments, the first bandwidth includes 20MHz and 40MHz, and the second bandwidth includes 80MHz, 160MHz and 320MHz.
[0106] As mentioned above, the bandwidth used in different frequency bands of Wi-Fi is partially the same and partially different. Determining the corresponding USB standard directly based on the bandwidth without considering the frequency band can effectively reduce the need to switch USB standards due to frequency band changes.
[0107] Based on the above embodiments, the first USB standard is USB 2.0, and the second USB standard is USB 3.0.
[0108] The above-mentioned USB 2.0 combination, which has a data transfer speed upper limit close to that of the first bandwidth and causes minimal interference to each frequency band, is used for data transfer. The USB 3.0 combination, which has a data transfer speed upper limit close to that of the second bandwidth and causes minimal interference to each frequency band of the second bandwidth, is used for data transfer. This reduces the frequency of USB standard switching while ensuring data transfer speed.
[0109] For any descriptions not covered in this embodiment, please refer to the network card connection control method in the previous embodiment.
[0110] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device includes a processor 410 and a memory 420 (e.g., a wireless repeater). In a possible product form of the electronic device (e.g., an interactive smart panel), it may also include an input device 430, an output device 440, and a communication device 450. The number of processors 410 in the electronic device can be one or more. Figure 5 Taking a processor 410 as an example; the processor 410, memory 420, input device 430, output device 440, and communication device 450 in the electronic device can be connected via a bus or other means. Figure 5 Taking the example of a connection between China and Israel via a bus.
[0111] The memory 420, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the network card connection control method in this embodiment. The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 420, thereby implementing the aforementioned network card connection control method.
[0112] The memory 420 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on the use of the electronic device. Furthermore, the memory 420 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include memory remotely located relative to the processor 410, which can be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0113] Input device 430 can be used to receive network configuration information. Output device 440 may include a display device such as a screen.
[0114] The aforementioned electronic device can be used to execute any network card connection control method, and has corresponding functions and beneficial effects.
[0115] This application also provides a storage medium containing computer-executable instructions. When executed by a computer processor, the computer-executable instructions are used to perform relevant operations in the network card connection control method provided in any embodiment of this application, and have corresponding functions and beneficial effects.
[0116] Those skilled in the art will understand that embodiments of this application may be provided as methods, systems, or computer program products.
[0117] Therefore, this application may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce implementations of the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0118] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0119] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0120] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0121] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A network card connection control method, characterized in that, This is for a display device, which includes a first system module, a second system module, and a connection switching module. The connection switching module includes a first set of interfaces, a second set of interfaces, and a third set of interfaces. The connection pins of the wireless network card are connected to the first set of interfaces. The first system module is installed on the display device through a preset interface. The connection pins in the preset interface that support USB connections are connected to the second set of interfaces, and the connection pins in the second system module that support USB connections are connected to the third set of interfaces. The connection switching module is used to switch the connection between the first set of interfaces and the second set of interfaces or the third set of interfaces for USB data transmission based on the operating status of the first system module and the second system module. The network interface card (NIC) connection control method includes: Determine the currently running target system, which is either a first system module or a second system module; Claims of ability to establish a wireless connection with a wireless hotspot in site mode and acquire the wireless hotspot; If the operating bandwidth of the wireless hotspot is determined to be a first bandwidth according to the capability claim, USB data transmission is performed between the wireless network card and the target system using the first USB standard through the connection switching module. If the operating bandwidth of the wireless hotspot is determined to be the second bandwidth according to the capability claim, the connection switching module uses the second USB standard to perform USB data transmission between the wireless network card and the target system. Wherein, the first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard.
2. The network card connection control method according to claim 1, characterized in that, The claimed ability to establish a wireless connection with a wireless hotspot in site mode and to acquire the wireless hotspot includes: During the process of establishing a wireless connection with a wireless hotspot in site mode, the capability claim of the wireless hotspot is obtained.
3. The network card connection control method according to claim 1 or 2, characterized in that, The claimed ability to establish a wireless connection with a wireless hotspot in site mode and to acquire the wireless hotspot includes: Establish a wireless connection with a Wi-Fi hotspot in site mode; During data transmission based on the wireless connection, the ability to claim the wireless hotspot is triggered at preset intervals and / or by preset transmission state changes.
4. The network card connection control method according to claim 3, characterized in that, The preset transmission state changes include changes in packet loss rate and changes in transmission speed.
5. The network card connection control method according to claim 1 or 2, characterized in that, The first bandwidth includes 20MHz and 40MHz, and the second bandwidth includes 80MHz, 160MHz and 320MHz.
6. The network card connection control method according to claim 1 or 2, characterized in that, The first USB standard is USB 2.0, and the second USB standard is USB 3.
0.
7. The network card connection control method according to claim 1 or 2, characterized in that, Also includes: If the USB standard used for USB data transmission changes, the connection switching module sends the standard change information to the target system.
8. A network card connection control method, characterized in that, For use in terminal devices, the connection pins of the wireless network card are connected to the processor of the terminal device for USB data transmission; the network card connection control method includes: Claims of ability to establish a wireless connection with a wireless hotspot in site mode and acquire the wireless hotspot's capabilities; If the operating bandwidth of the wireless hotspot is determined to be a first bandwidth according to the capability claim, USB data transmission is performed under the first USB standard. If the operating bandwidth of the wireless hotspot is determined to be the second bandwidth based on the capability claim, USB data transmission is performed under the second USB standard. Wherein, the first bandwidth is smaller than the second bandwidth, and the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard.
9. A network card connection control method, characterized in that, For use in terminal devices, the connection pins of the wireless network card are connected to the processor of the terminal device for USB data transmission; the network card connection control method includes: Claims of ability to establish a wireless connection with a wireless hotspot in site mode and acquire the wireless hotspot's capabilities; If the wireless hotspot's operating bandwidth is determined to be a first bandwidth and the wireless standard is a first wireless standard based on the capability claim, USB data transmission is performed under the first USB standard. If the wireless hotspot's operating bandwidth is determined to be a first bandwidth based on the capability claim and the wireless standard is a second wireless standard, then USB data transmission is performed under the second USB standard. If the operating bandwidth of the wireless hotspot is determined to be the second bandwidth based on the capability claim, USB data transmission is performed under the second USB standard. Wherein, the first bandwidth is smaller than the second bandwidth; the maximum transmission speed under the first USB standard is smaller than the maximum transmission speed under the second USB standard; under the same operating bandwidth, the maximum transmission speed of the second wireless standard is greater than the maximum transmission speed of the first wireless standard; the maximum transmission speed of the second wireless standard under the first bandwidth is greater than the maximum transmission speed of the first USB standard.
10. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more computer programs; When the one or more computer programs are executed by the one or more processors, the electronic device implements the network card connection control method as described in any one of claims 1-9.
