Wireless communication method and wireless routing device

By creating multi-band and single-band virtual interfaces on the baseband chip, the Wi-Fi system compatibility problem is solved, and a unified system architecture for Wi-Fi7 MLO and DBDC is achieved, meeting diverse application needs and improving the flexibility and consistency of link scheduling.

CN120835422BActive Publication Date: 2025-11-21SHANGHAI QIMINGXIN SEMICONDUCTOR TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511340509.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2025-11-21
Estimated Expiration
2045-09-19

AI Technical Summary

Technical Problem

Existing Wi-Fi systems have bottlenecks in spectrum utilization, device concurrency, and latency control, and cannot effectively support Wi-Fi 7 MLO and DBDC, resulting in resource waste and a fragmented user experience.

Method used

By creating a first type of virtual interface on multiple baseband chips to form a multi-band link, and creating a second type of virtual interface on each baseband chip to form a single-band link, the target link is determined according to the interface working mode information of the data packet for data transmission, thus realizing a unified system architecture of MLO and DBDC.

Benefits of technology

It achieves compatibility with multi-frequency, multi-concurrency devices and network deployments without increasing chip area and power consumption, meeting the needs of diverse application scenarios and improving the flexibility and consistency of link scheduling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120835422B_ABST
    Figure CN120835422B_ABST
Patent Text Reader

Abstract

The application provides a wireless communication method and a wireless routing device, and relates to the technical field of wireless communication. The method comprises the following steps: creating a plurality of virtual interfaces on each baseband chip, wherein the plurality of virtual interfaces comprise a first type of virtual interface and a second type of virtual interface; each wireless interface is connected with a first type of virtual interface on the plurality of baseband chips to form a multi-band link of each wireless interface; each wireless interface is connected with a second type of virtual interface on the corresponding baseband chip to form a single-band link of each wireless interface; determining a target link according to interface working mode information of a data packet to be transmitted; the interface working mode information is used for indicating whether the to-be-transmitted link is a multi-band link or a single-band link; and transmitting the data packet by using the target link. The application can fully exert the multi-link operation technology, is compatible with the existing multi-band multi-concurrent device and network deployment, and meets the demand of diversified application scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and more specifically, to a wireless communication method and a wireless routing device. Background Technology

[0002] With the increasing demands for high bandwidth and low latency from applications such as high-definition video, virtual reality (VR) / augmented reality (AR), and the industrial internet, traditional Wi-Fi 6 has gradually shown its limitations in spectrum utilization, device concurrency capabilities, and latency control. IEEE 802.11be (Wi-Fi 7) significantly improves system performance by introducing key technologies such as 320MHz ultra-wideband channels, 4096-QAM, enhanced MU-MIMO, and Multi-Link Operation (MLO).

[0003] However, in the Wi-Fi 4 / 5 / 6 era before Wi-Fi 7, the industry generally adopted the dual-band dual-concurrent (DBDC) architecture. DBDC deployed independent radio frequency (RF) front-ends and baseband processing units (such as media access control (MAC) / physical layer (PHY)) for each frequency band (such as 2.4GHz and 5GHz), enabling devices to operate in parallel on multiple frequency bands and forming isolated network interfaces.

[0004] Existing publicly available solutions often support multi-device connections by creating virtual access points in software, or by adopting a one-size-fits-all approach: either completely abandoning DBDC and only supporting MLO, or treating them as two independent systems. Such approaches not only waste resources and increase protocol complexity, but also lead to a fragmented user experience. Therefore, the industry urgently needs a unified system architecture that can simultaneously support the coexistence of Wi-Fi 7 MLO and DBDC. Summary of the Invention

[0005] The purpose of this application is to address the shortcomings of the prior art by providing a wireless communication method and a wireless routing device, so as to fully utilize multi-link operation technology while being backward compatible with existing multi-frequency and multi-concurrency devices and network deployments, and to meet the needs of diverse application scenarios.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0007] In a first aspect, embodiments of this application provide a wireless communication method applied to a wireless routing device. The wireless routing device includes: multiple wireless interfaces and multiple baseband chips corresponding one-to-one with the multiple wireless interfaces. The multiple baseband chips have different baseband frequency bands. The method includes:

[0008] Multiple virtual interfaces are created on each baseband chip. The multiple virtual interfaces include: a first type of virtual interface and a second type of virtual interface. Each wireless interface is connected to a first type of virtual interface on the multiple baseband chips to form a multi-band link for each wireless interface. Each wireless interface is connected to a second type of virtual interface on the corresponding baseband chip to form a single-band link for each wireless interface.

[0009] The target link is determined based on the interface operating mode information of the data packet to be transmitted; the interface operating mode information is used to indicate whether the link to be transmitted is a multi-band link or a single-band link.

[0010] The data packet is transmitted using the target link.

[0011] Optionally, the creation of multiple virtual interfaces on each baseband chip includes:

[0012] In response to the creation instruction for each wireless interface for the first interface operating mode, a first type of virtual interface is created on each of the plurality of baseband chips, so that each wireless interface and the first type of virtual interface on the plurality of baseband chips form the multi-band link;

[0013] In response to the creation instruction for the second interface operating mode for each wireless interface, a second type of virtual interface is created on the baseband chip corresponding to each wireless interface, so that each wireless interface and the second type of virtual interface on the corresponding baseband chip form the single-band link.

[0014] Optionally, after creating multiple virtual interfaces on each baseband chip, the method further includes:

[0015] In response to a start command for a first interface operating mode for any wireless interface, each first type of virtual interface on the multi-band link corresponding to the wireless interface is activated.

[0016] Optionally, after creating multiple virtual interfaces on each baseband chip, the method further includes:

[0017] In response to a start command for the second interface operating mode for any wireless interface, the second type of virtual interface on the single-band link corresponding to any wireless interface is activated.

[0018] Optionally, the data packet to be transmitted is an uplink data packet, and before determining the target link based on the interface operating mode information of the data packet to be transmitted, the method further includes:

[0019] The target wireless interface is determined based on the wireless interface identifier corresponding to the virtual interface that receives the uplink data packet;

[0020] The interface operating mode of the target wireless interface is determined based on the link type corresponding to the virtual interface that receives the uplink data packet.

[0021] Optionally, the terminal device is a multi-band terminal device, the target link is the multi-band link, and transmitting the data packet using the target link includes:

[0022] If the virtual interface of the main connection of the multi-band terminal device and the virtual interface for receiving the uplink data packet sent by the multi-band terminal device are different virtual interfaces on the multi-band link, the uplink data packet is forwarded to the virtual interface of the main connection of the multi-band terminal device.

[0023] The uplink data packets are transmitted via the virtual interface of the main connection of the multi-band terminal equipment and the multi-band link.

[0024] Optionally, the terminal device is a single-band terminal device, the target link is the single-band link, and transmitting the data packet using the target link includes:

[0025] The uplink data packets are transmitted via the virtual interface connected to the single-band terminal device using the single-band link.

[0026] Optionally, transmitting the uplink data packet using the target link includes:

[0027] The uplink data packet is sent to the response entity corresponding to the target radio interface of the target link;

[0028] The response entity sends the uplink data packet to the target wireless interface according to the priority of the uplink data packet.

[0029] Optionally, the data packet to be transmitted is a downlink data packet, and determining the target link based on the interface operating mode information of the data packet to be transmitted includes:

[0030] Determine the interface operating mode of the wireless interface for transmitting the downlink data packets;

[0031] The target link is determined based on the interface's operating mode.

[0032] Optionally, the target link is a multi-band link, and transmitting the data packet using the target link includes:

[0033] According to the preset transmission rules, the target virtual interface is determined from each of the first type of virtual interfaces of the multi-band link;

[0034] The downlink data packet is sent to the terminal device through the target virtual interface.

[0035] Optionally, before transmitting the data packet using the target link, the method further includes:

[0036] The first management master module of the target baseband chip sends a user addition request for the terminal device to the first user management module of the target baseband chip;

[0037] The first user management module sends a user management service suspension request to the second user management module of other baseband chips, so that both the first user management module and the second user management module suspend user management services.

[0038] The first user management module adds users to the terminal device, notifies the second user management module to save the user information of the terminal device, and restores the user management service.

[0039] The first management module sends feedback to the terminal device to indicate that the user has completed adding the feature.

[0040] Optionally, the method further includes:

[0041] The first management main module receives the key sent by the terminal device;

[0042] The key is synchronized with the second management master module of the other baseband chips.

[0043] Secondly, embodiments of this application also provide a wireless communication device applied to a wireless routing device, the wireless routing device comprising: multiple wireless interfaces, and multiple baseband chips corresponding one-to-one with the multiple wireless interfaces, the multiple baseband chips having different baseband frequency bands, the device comprising:

[0044] An interface creation module is used to create multiple virtual interfaces on each baseband chip. The multiple virtual interfaces include: a first type of virtual interface and a second type of virtual interface. Each wireless interface is connected to a first type of virtual interface on the multiple baseband chips to form a multi-band link of each wireless interface. Each wireless interface is connected to a second type of virtual interface on the corresponding baseband chip to form a single-band link of each wireless interface.

[0045] The link determination module is used to determine the target link based on the interface operating mode information of the data packet to be transmitted; the interface operating mode information is used to indicate whether the link to be transmitted is a multi-band link or a single-band link.

[0046] A data transmission module is used to transmit the data packet using the target link.

[0047] Optionally, the interface creation module is specifically configured to, in response to the creation instruction of each wireless interface for the first interface working mode, create a first type of virtual interface on each of the plurality of baseband chips, so that each wireless interface and the first type of virtual interface on the plurality of baseband chips form the multi-band link; and in response to the creation instruction of each wireless interface for the second interface working mode, create a second type of virtual interface on the baseband chip corresponding to each wireless interface, so that each wireless interface and the second type of virtual interface on the corresponding baseband chip form the single-band link.

[0048] Optionally, the device further includes:

[0049] The interface startup module is used to activate each of the first type of virtual interfaces on the multi-band link corresponding to any wireless interface in response to a startup command for the first interface working mode of any wireless interface.

[0050] Optionally, the interface startup module is further configured to activate the second type of virtual interface on the single-band link corresponding to any wireless interface in response to a startup command for the second interface working mode of any wireless interface.

[0051] Optionally, the data packet to be transmitted is an uplink data packet, and the device further includes:

[0052] The interface determination module is used to determine the target wireless interface based on the wireless interface identifier corresponding to the virtual interface that receives the uplink data packet; and to determine the interface operating mode of the target wireless interface based on the link type corresponding to the virtual interface that receives the uplink data packet.

[0053] Optionally, the terminal device is a multi-band terminal device, the target link is the multi-band link, and the data transmission module is configured to forward the uplink data packet to the virtual interface of the main connection of the multi-band terminal device if the virtual interface of the main connection of the multi-band terminal device and the virtual interface for receiving the uplink data packet sent by the multi-band terminal device are different virtual interfaces on the multi-band link; and transmit the uplink data packet through the virtual interface of the main connection of the multi-band terminal device using the multi-band link.

[0054] Optionally, the terminal device is a single-band terminal device, the target link is the single-band link, and the data transmission module is used to transmit the uplink data packet through the virtual interface connected to the single-band terminal device using the single-band link.

[0055] Optionally, the data transmission module is configured to send the uplink data packet to a response entity corresponding to the target radio interface of the target link; and the response entity sends the uplink data packet to the target radio interface according to the priority of the uplink data packet.

[0056] Optionally, the data packet to be transmitted is a downlink data packet, and the link determination module is used to determine the interface operating mode of the wireless interface for transmitting the downlink data packet; and determine the target link according to the interface operating mode.

[0057] Optionally, the target link is a multi-band link, and the data transmission module is used to determine the target virtual interface from each of the first type of virtual interfaces of the multi-band link according to a preset transmission rule; and to send the downlink data packet to the terminal device through the target virtual interface.

[0058] Optionally, the device further includes:

[0059] The user addition module is used to send a user addition request for the terminal device to the first user management module of the target baseband chip through the first management master module of the target baseband chip; send a user management service suspension request to the second user management module of other baseband chips through the first user management module, so that both the first user management module and the second user management module suspend user management services; add users of the terminal device through the first user management module, and notify the second user management module to save the user information of the terminal device and resume the user management service; and send user addition completion information to the terminal device through the first management master module.

[0060] Optionally, the user adding module is further configured to receive a key sent by the terminal device through the first management master module; and synchronize the key with the second management master module of the other baseband chips.

[0061] Thirdly, embodiments of this application also provide a wireless routing device, including: a processor, a storage medium, and a bus, wherein the storage medium stores program instructions executable by the processor, and when the wireless routing device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the wireless communication method as described in any of the first aspects.

[0062] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the wireless communication method as described in any of the first aspects.

[0063] The beneficial effects of this application are:

[0064] The wireless communication method and wireless routing device provided in this application form a multi-band link by creating a first type of virtual interface on multiple baseband chips for each wireless interface, and a second type of virtual interface on each baseband chip for the corresponding wireless interface to form a single-band link. This allows for the simultaneous sensing and scheduling of MLO (Multi-Link Optimization) and non-MLO links, meeting the communication needs between the wireless routing device and different types of terminal devices. It fully leverages multi-link operation technology while maintaining backward compatibility with existing multi-frequency, multi-concurrency devices and network deployments, satisfying the needs of diverse application scenarios. Based on the interface operating mode information of the data packet to be transmitted, the target link for transmitting the data packet is determined, achieving backward compatibility while ensuring the flexibility and consistency of link scheduling. Attached Figure Description

[0065] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0066] Figure 1 This is a schematic diagram of the hardware resource architecture provided in the embodiments of this application;

[0067] Figure 2 A flowchart illustrating the wireless communication method provided in the embodiments of this application. Figure 1 ;

[0068] Figure 3 This is a schematic diagram of the multi-band link initialization process provided in an embodiment of this application;

[0069] Figure 4 This is a schematic diagram of the multi-band link initialization state provided in an embodiment of this application;

[0070] Figure 5 This is a schematic diagram of the link startup provided in an embodiment of this application;

[0071] Figure 6 A schematic diagram of the interface management structure provided in the embodiments of this application;

[0072] Figure 7 A flowchart illustrating the wireless communication method provided in the embodiments of this application. Figure 2;

[0073] Figure 8 A schematic diagram of uplink data packet transmission provided in an embodiment of this application;

[0074] Figure 9 A flowchart illustrating the wireless communication method provided in the embodiments of this application. Figure 3 ;

[0075] Figure 10 A channel diagram of uplink data packets provided in the embodiments of this application;

[0076] Figure 11 Message timing diagrams provided for embodiments of this application;

[0077] Figure 12 A schematic diagram of downlink data packet transmission provided in the embodiments of this application. Figure 1 ;

[0078] Figure 13 A schematic diagram of downlink data packet transmission provided in the embodiments of this application. Figure 2 ;

[0079] Figure 14 This is a normalized management interaction diagram of a terminal device provided in an embodiment of this application;

[0080] Figure 15 This is a schematic diagram of the structure of a wireless communication device provided in an embodiment of this application;

[0081] Figure 16 A schematic diagram of a wireless routing device provided in an embodiment of this application. Detailed Implementation

[0082] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of this application, but not all embodiments.

[0083] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0084] Furthermore, the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0085] It should be noted that, where there is no conflict, the features in the embodiments of this application can be combined with each other.

[0086] While the dual-band dual-concurrency architecture is simple and cost-controllable, its inherent limitations are becoming increasingly prominent, including: resource fragmentation between frequency bands, making it impossible to dynamically aggregate bandwidth based on real-time traffic; terminals need to undergo complete reassociation when roaming across frequency bands, making services prone to interruption; and with the addition of new frequency bands such as 6GHz, chip area, power consumption, and cost are increasing linearly.

[0087] Wi-Fi 7's Multi-band Loop (MLO) overcomes the fragmentation of the DBDC by unifying the scheduling of multi-band resources at the upper MAC (Upper MAC, UMAC) layer, and supports modes such as Simultaneous Transmit and Receive (STR) and Enhanced Multi-Link Single Radio (EMLSR). However, the introduction of MLO also brings new compatibility and coexistence challenges.

[0088] Regarding hardware reuse, how can existing multiple RF and baseband resources be reused to support MLO without significantly increasing chip area and power consumption? Regarding protocol switching, how can dynamic switching and efficient coexistence of the DBDC independent interface and the MLO unified interface be achieved at the MAC layer? Regarding service fairness, how can the fairness of resource allocation between traditional DBDC terminals and new MLO terminals in the same network be ensured?

[0089] Existing publicly available solutions often support multi-device connections by creating virtual access points in software, or by adopting a one-size-fits-all approach: either completely abandoning DBDC and only supporting MLO, or treating them as two independent systems. Such approaches not only waste resources and increase protocol complexity, but also lead to a fragmented user experience. Therefore, the industry urgently needs a unified system architecture that can simultaneously support the coexistence of Wi-Fi 7 MLO and DBDC.

[0090] Figure 1 This is a schematic diagram of the hardware resource architecture provided in the embodiments of this application, such as... Figure 1 As shown, the traditional DBDC reuses multiple sets of hardware resources for different frequency bands. By abstracting common processes across multiple frequency bands (such as protocol parsing, data scheduling, and state management) into a shared firmware module firmware.bin, the functions of the firmware module firmware.bin are executed by the driver chip of the wireless router device. The driver chip can be integrated with the baseband chip and memory MEM of multiple frequency bands on the same processor core. In this way, the reuse of a single code path is achieved without affecting the independence of the link. This optimization can significantly reduce the amount of duplicate code, reduce the overall area of ​​the processor core, and improve the instruction cache hit rate and service execution efficiency.

[0091] In addition, such as Figure 1 As shown, considering that links of different frequency bands still need to maintain some state isolation during operation, independent storage of proprietary data structures (such as connection context, buffer, etc.) for different frequency bands is retained. For shareable resources (such as protocol templates, scheduling tables, cache pools, etc.), a unified dynamic memory management mechanism is introduced for fusion and reuse, which can reduce memory overhead by about 20% and effectively improve system integration and resource utilization.

[0092] Based on this hardware resource architecture, the following section introduces the specific implementation methods of wireless communication methods applied to wireless router devices.

[0093] A wireless router device may include multiple wireless interfaces and multiple baseband chips corresponding to each wireless interface. The baseband chips have different baseband frequency bands. In this embodiment, wireless interfaces wlan0 and wlan1 are used as examples. The multiple baseband chips include a 2.4GHz baseband chip and a 5GHz baseband chip. With the development of technology, wireless interface wlan2 and its corresponding 6GHz baseband chip can also be added.

[0094] Figure 2 A flowchart illustrating the wireless communication method provided in the embodiments of this application. Figure 1 ,like Figure 2 As shown, the method may include:

[0095] S110. Create multiple virtual interfaces on each baseband chip. The multiple virtual interfaces include: a first type of virtual interface and a second type of virtual interface. Each wireless interface is connected to a first type of virtual interface on the multiple baseband chips to form a multi-band link for each wireless interface. Each wireless interface is connected to a second type of virtual interface on the corresponding baseband chip to form a single-band link for each wireless interface.

[0096] In this embodiment, for wireless routing devices, based on the number of baseband chips in the wireless routing device, upper-layer logical interfaces, namely wireless interfaces, will be created in the Linux operating system that correspond one-to-one with the multiple baseband chips.

[0097] In order for the wireless interface to communicate with the terminal device, resources need to be allocated on the baseband chip to create a virtual interface, so that the wireless interface can communicate with the terminal device through the virtual interface.

[0098] This embodiment creates two types of virtual interfaces for the wireless interface: a first type and a second type. For each wireless interface, it forms a multi-band link with one first-type virtual interface on all baseband chips via Inter-Processor Communication (IPC) or Peripheral Component Interconnect Express (PCIe). This allows the wireless interface to utilize the resources of all baseband chips for communication; hence the term "multi-band link." From the Linux operating system's perspective, multiple wireless interfaces are observed. The operating system only knows the baseband frequency band of the corresponding baseband chip bound to each wireless interface. From the firmware perspective, the resources of all baseband chips are pooled, and each wireless interface has resources across all baseband chips. Each wireless interface can communicate through the first-type virtual interface on its own baseband chip or through the first-type virtual interfaces on other baseband chips.

[0099] For each wireless interface, and also forming a single-band link with the corresponding second type of virtual interface on the baseband chip, terminal devices that only support single-band communication can communicate with the wireless router terminal through the second type of virtual interface.

[0100] Among them, the wireless interface of a single-band link is a derived interface corresponding to the wireless interface of a multi-band link on the same baseband chip. The wireless interface of the multi-band link can be regarded as the main interface, and the wireless interface of the single-band link can be regarded as the sub-interface or derived interface.

[0101] It should be noted that each wireless interface, as the main interface, forms a multi-band link with a first-type virtual interface on all baseband chips. The derived interface of each wireless interface forms a single-band link with the second-type virtual interface on the corresponding baseband chip. Although the wireless interface and its derived interface are seen simultaneously from the perspective of the Linux operating system, the derived interface depends on the main interface for its existence. If the main interface is closed or deleted, the derived interface will also become invalid. In this solution, the main interface and the derived interface are distinguished by different interface working modes.

[0102] S120. Determine the target link based on the interface operating mode information of the data packet to be transmitted; the interface operating mode information is used to indicate whether the link to be transmitted is a multi-band link or a single-band link.

[0103] In this embodiment, the data packet to be transmitted can be an uplink data packet sent by the terminal device to the wireless router device, or a downlink data packet sent by the wireless router device to the terminal device. The interface working mode information carried in the data packet to be transmitted can include: link identifier and baseband chip identifier. The link identifier determines whether the link to be transmitted is a multi-band link or a single-band link. The baseband chip identifier determines whether the multi-band link or single-band link to which the wireless interface corresponding to the baseband chip belongs is the target link.

[0104] For example, if the link identifier indicates that the link to be transmitted is a multi-band link, then the multi-band link to which the corresponding wireless interface of the baseband chip belongs is determined as the target link based on the baseband chip identifier. If the link identifier indicates that the link to be transmitted is a single-band link, then the single-band link to which the corresponding wireless interface of the baseband chip belongs is determined as the target link based on the baseband chip identifier.

[0105] It should be noted that a multi-band link is a series of transmission links formed by the wireless interface and the first type of virtual interfaces on multiple baseband chips. One link can be selected as the target link from among the multiple transmission links. For example, a link can be selected as the target link based on the type of data packet to be transmitted. For instance, if the data packet to be transmitted needs high-speed transmission, a 5GHz link can be selected as the target link, and if the data packet to be transmitted does not need high-speed transmission, a 2.4GHz link can be selected as the target link. Alternatively, a link can be selected as the target link based on the resource occupancy status of the multiple transmission links.

[0106] In some embodiments, the link identifier can be determined based on whether the terminal device supports multi-band data transmission. If the terminal device does not support multi-band data transmission, the link identifier is determined to be the link identifier of a single-band link. If the terminal device supports multi-band data transmission, the link identifier is determined to be the link identifier of a multi-band link.

[0107] In some embodiments, if the data packet to be transmitted is an uplink data packet, the baseband chip identifier is determined based on the baseband frequency at which the terminal device sends the uplink data packet to the wireless router, or based on the baseband chip to which the virtual interface that establishes the main connection with the terminal device belongs.

[0108] In some embodiments, if the data packet to be transmitted is a downlink data packet, the baseband chip identifier can be determined based on whether the terminal device supports multi-band data transmission. If the terminal device supports multi-band data transmission, the target baseband chip can be determined from multiple baseband chips according to preset rules, thereby determining the baseband chip identifier. If the terminal device does not support multi-band data transmission, the baseband chip identifier can be determined based on the baseband frequency band supported by the terminal device.

[0109] S130, Use the target link to transmit data packets.

[0110] In this embodiment, for uplink data packets, the uplink data packets are sent to the wireless interface through the target link; for downlink data packets, the downlink data packets are sent to the terminal device through the target link.

[0111] The wireless communication method provided in the above embodiments forms multi-band links by creating a first type of virtual interface for each wireless interface on multiple baseband chips, and a second type of virtual interface for the corresponding wireless interface on each baseband chip to form a single-band link. This allows for the simultaneous sensing and scheduling of MLO (Multi-Link Optimization) and non-MLO links, meeting the communication needs between wireless routing devices and different types of terminal devices. It fully leverages multi-link operation technology while maintaining backward compatibility with existing multi-frequency, multi-concurrency devices and network deployments, satisfying the needs of diverse application scenarios. Based on the interface operating mode information of the data packet to be transmitted, the target link for transmitting the data packet is determined, achieving backward compatibility while ensuring the flexibility and consistency of link scheduling.

[0112] In one possible implementation, the process of creating multiple virtual interfaces on each baseband chip in S110 above may include:

[0113] In response to the creation instruction for each wireless interface for the first interface operating mode, a first type of virtual interface is created on multiple baseband chips respectively, so that each wireless interface forms a multi-band link with the first type of virtual interface on the multiple baseband chips.

[0114] In this embodiment, in response to the creation instruction for each wireless interface, a wireless interface for implementing the first interface working mode is created on a specified baseband chip. After receiving the instruction, the firmware explicitly creates a first type of virtual interface on the specified baseband chip and binds it to the wireless interface. At the same time, it implicitly creates a first type of virtual interface on other baseband chips and logically attributes the first type of virtual interfaces on other baseband chips to the wireless interface. The wireless interface and the first type of virtual interfaces on multiple baseband chips form a multi-band link so that the wireless interface is in the first interface working mode, which is the MLO mode.

[0115] In some embodiments, the creation instruction includes an interface identifier for the wireless interface and a specified baseband chip identifier, so as to bind the wireless interface to the specified baseband chip during the creation of the virtual interface, ensuring that multiple wireless interfaces correspond one-to-one with multiple baseband chips at the operating system level, so that the operating system can determine the baseband chip resources owned by each wireless interface.

[0116] Example, Figure 3 This is a schematic diagram of the multi-band link initialization process provided in an embodiment of this application, as shown below. Figure 3 As shown, the baseband chip includes a 2.4GHz baseband chip and a 5GHz baseband chip. The upper-level command of the operating system is to create an interface wlan0 and bind it to the 2.4GHz baseband. After receiving the command, the firmware creates a first-class virtual interface VIF[0] on the 2.4GHz baseband and implicitly creates a first-class virtual interface VIF[0] on the 5GHz baseband, so that the wireless interface wlan0, the first-class virtual interface VIF[0] of the 2.4GHz baseband, and the first-class virtual interface VIF[0] of the 5GHz baseband form a multi-band link.

[0117] The upper-level command of the operating system is to create an interface wlan1 and bind it to the 5GHz baseband. After receiving the command, the firmware creates a first-class virtual interface VIF[1] on the 5GHz baseband and implicitly creates a first-class virtual interface VIF[1] on the 2.4GHz baseband, so that the wireless interface wlan1, the first-class virtual interface VIF[1] of the 2.4GHz baseband, and the first-class virtual interface VIF[1] of the 5GHz baseband form a multi-band link.

[0118] Example, Figure 4This is a schematic diagram of the multi-band link initialization state provided in an embodiment of this application, such as... Figure 4 As shown, at the operating system level, two wireless interfaces, wlan0 and wlan1, can be seen. It is confirmed that wireless interface wlan0 belongs to the 2.4GHz baseband and wireless interface wlan1 belongs to the 5GHz baseband. At the firmware level, it can be confirmed that wireless interface wlan0 also has resources on the 5GHz baseband and wireless interface wlan1 also has resources on the 2.4GHz baseband.

[0119] It should be noted that with the development of technology, this solution can also be extended to 6GHz baseband, but this embodiment does not impose any limitations on this.

[0120] In response to the creation instruction for the second interface operating mode of each wireless interface, a second type of virtual interface is created on the baseband chip corresponding to each wireless interface, so that each wireless interface and the second type of virtual interface on the corresponding baseband chip form a single-band link.

[0121] In this embodiment, after allocating resources of the first type of virtual interface on multiple baseband chips for each wireless interface to form a multi-band link, in order to cope with terminal devices that only support single-band communication, it is also necessary to create a single-band link for each wireless interface for communication by single-band terminal devices.

[0122] Specifically, in response to the creation command for the derived interface of each wireless interface, resources are allocated on the baseband chip bound to the wireless interface to create a second type of virtual interface when creating a multi-band link. The derived interface of each wireless interface is bound to the second type of virtual interface on the corresponding baseband chip to form a single-band link, so that the derived interface of the wireless interface is in the second interface working mode. The second interface working mode is the single-band working mode. Because the existing technology uses DBDC technology, the second interface working mode can also be called DBDC mode.

[0123] Example, Figure 5 This is a schematic diagram of the link startup provided in the embodiments of this application, such as... Figure 5 As shown, resources are allocated on the 2.4GHz baseband to create a second type of virtual interface VIF[2]. The derived interface wlan0-1 of wlan0 is bound to the second type of virtual interface VIF[2] to form a single-band link. Multiple single-band links can be created, but this embodiment will not elaborate on them here.

[0124] Based on the aforementioned wireless interface and its derived interfaces, the operating system's driver layer needs to add management structures `product_hw` and `product_vif` for these two types of interfaces, as shown in the example. Figure 6 A schematic diagram of the interface management structure provided in the embodiments of this application, such as Figure 6 As shown, taking the implementation of MLO and DBDC based on wlan0 as an example, product_hw represents the parent node of the wireless interface in the first interface working mode (MLO) and the wireless interface in the second interface working mode (DBDC), and product_vif represents the working mode of the wireless interface as either the first interface working mode (wlan0 for MLO) or the second interface working mode (wlan0-1 for DBDC 2G, wlan0-2 for DBDC 2G). The detailed meaning of its code will not be elaborated here.

[0125] The wireless communication method provided in the above embodiments forms a multi-band link by creating a first type of virtual interface for each wireless interface on multiple baseband chips, and a second type of virtual interface for the corresponding wireless interface on each baseband chip to form a single-band link. This allows for the simultaneous sensing and scheduling of MLO links and non-MLO links, meeting the communication needs between wireless routing devices and different types of terminal devices. It fully leverages multi-link operation technology while being backward compatible with existing multi-frequency and multi-concurrency devices and network deployments, thus meeting the needs of diverse application scenarios.

[0126] In one possible implementation, after S110 creates multiple virtual interfaces on each baseband chip, the method may further include:

[0127] In response to a start command for the first interface operating mode of any wireless interface, activate each of the first type of virtual interfaces on the multi-band link corresponding to any wireless interface.

[0128] In this embodiment, after creating a multi-band link and / or a single-band link for each wireless interface, the multi-band link and / or single-band link need to be started in order for the wireless interface to provide services to the user.

[0129] To enable the first interface working mode (MLO) for any wireless interface, the first type of virtual interfaces on that wireless interface and its corresponding multi-band link are activated.

[0130] For example, such as Figure 5As shown, when MLO is started on wlan0, wlan0, the first type of virtual interface VIF[0] on the 2.4GHz baseband and the first type of virtual interface VIF[0] on the 5GHz baseband are activated, and wlan0 can provide users with multi-band communication functions.

[0131] In another possible implementation, after S110 creates multiple virtual interfaces on each baseband chip, the method may further include:

[0132] In response to the start command for the second interface operating mode for any wireless interface, activate the second type of virtual interface on the single-band link corresponding to any wireless interface.

[0133] In this embodiment, for any wireless interface, if the second interface working mode (DBDC) is to be started, the derived interface of the wireless interface and the second type of virtual interface on the corresponding single-band link are activated.

[0134] For example, such as Figure 5 As shown, when DBDC is started on wlan0-1, the second type of virtual interface VIF[1] on wlan0-1 and 2.4GHz baseband is activated, and wlan0-1 can provide users with single-band communication function.

[0135] It should be noted that, in addition to Figure 5 In addition to starting MLO on wlan0 and DBDC 2G on wlan0-1, as shown, MLO can also be started on wlan1 and DBDC 5G on wlan1-1, or MLO can be started on wlan0 and DBDC 2G on wlan0-1 and DBDC 5G on wlan1-1, or MLO can be started on wlan1 and DBDC 2G on wlan0-1 and DBDC 5G on wlan1-1. This embodiment will not elaborate further on these points.

[0136] In one possible implementation, Figure 7 A flowchart illustrating the wireless communication method provided in the embodiments of this application. Figure 2 ,like Figure 7 As shown, before determining the target link based on the interface operating mode information of the data packet to be transmitted in S120, the method further includes:

[0137] S210. Determine the target wireless interface based on the wireless interface identifier corresponding to the virtual interface that receives the uplink data packet.

[0138] In this embodiment, the terminal device sends uplink data packets to the virtual interface of the wireless router device. The firmware determines the wireless interface identifier corresponding to the virtual interface receiving the uplink data packets based on the mapping relationship between the virtual interface and the wireless interface identifier determined when the interface is created, and determines the corresponding target wireless interface based on the wireless interface identifier.

[0139] For example, the virtual interface VIF[0] corresponds to the wireless interface identifier hwid=0, the virtual interface VIF[1] corresponds to the wireless interface identifier hwid=1, for 2.4GHz baseband, the virtual interface VIF[2] corresponds to the wireless interface identifier hwid=0, for 5GHz baseband, the virtual interface VIF[2] corresponds to hwid=1, the wireless interface identifier hwid=0 indicates the wireless interface wlan0, and the wireless interface identifier hwid=1 indicates the wireless interface wlan1.

[0140] Furthermore, the firmware determines the wireless interface identifier corresponding to the virtual interface receiving uplink data packets based on the mapping relationship between the baseband chip, virtual interface, and wireless interface identifier determined when the interface is created, and determines the corresponding target wireless interface based on the wireless interface identifier.

[0141] S220. Determine the interface working mode of the target wireless interface based on the link type corresponding to the virtual interface that receives the uplink data packets.

[0142] In this embodiment, the link type is used to indicate the interface working mode of the wireless interface. The firmware determines the link type corresponding to the virtual interface receiving uplink data packets based on the correspondence between the virtual interface and the link type determined on the interface creation, thereby determining the interface working mode of the target wireless interface.

[0143] Since wireless interfaces can correspond to both multi-band and single-band links, as described above, each wireless interface corresponding to the same baseband chip is divided into a main interface and a derived interface based on whether it generates a multi-band or single-band link. Determining the interface operating mode of the target wireless interface is essentially determining whether it is the main interface or the derived interface. If the link type is a multi-band link, the main interface of the target wireless interface is determined; if the link type is a single-band link, the derived interface of the target wireless interface is determined.

[0144] For example, if the virtual interface VIF[0] corresponds to the wireless interface wlan0, and the link type corresponding to the virtual interface VIF[0] is a multi-band link, then the interface working mode of the wireless interface wlan0 is multi-band working mode (MLO). In this case, the firmware can send uplink data packets from any virtual interface of the multi-band link corresponding to the wireless interface wlan0 to the main interface of the wireless interface wlan0 as appropriate.

[0145] Virtual interface VIF[1] corresponds to wireless interface wlan1. The link type corresponding to virtual interface VIF[1] is a multi-band link. Then the interface working mode of wireless interface wlan1 is multi-band working mode (MLO). Under this case, the firmware can send uplink data packets from any virtual interface of the multi-band link corresponding to wireless interface wlan1 to the main interface of wireless interface wlan1 as needed.

[0146] The virtual interface VIF[2] of the 2.4GHz baseband corresponds to the wireless interface wlan0. The link type corresponding to the virtual interface VIF[2] is a single-band link. Therefore, the interface working mode of the wireless interface wlan0 is the single-band working mode (DBDC). In this case, the firmware can send uplink data packets to the wireless interface wlan0 (its derived interface wlan0-1) through the virtual interface VIF[2] of the 2.4GHz baseband.

[0147] The virtual interface VIF[2] of the 5GHz baseband corresponds to the wireless interface wlan1. The link type corresponding to the virtual interface VIF[2] is a single-band link. Therefore, the interface working mode of the wireless interface wlan1 is the single-band working mode (DBDC). In this case, the firmware can send uplink data packets to the wireless interface wlan1 (the derived interface wlan1-1) through the virtual interface VIF[2] of the 5GHz baseband.

[0148] In one possible implementation, the terminal device is a multi-band terminal device, the target link is a multi-band link, and the above-mentioned S130 uses the target link to transmit data packets, including:

[0149] If the virtual interface of the main connection of the multi-band terminal equipment and the virtual interface for receiving uplink data packets sent by the multi-band terminal equipment are different virtual interfaces on the multi-band link, the uplink data packets are forwarded to the virtual interface of the main connection of the multi-band terminal equipment; the uplink data packets are transmitted through the virtual interface of the main connection of the multi-band terminal equipment using the multi-band link.

[0150] In this embodiment, Figure 8This is a schematic diagram of uplink data packet transmission provided in an embodiment of this application, as shown below. Figure 8 As shown, terminal device STA1 is a multi-band terminal device, that is, terminal device STA1 can communicate through multiple frequency bands. Terminal device STA1 establishes a main connection with the virtual interface VIF[1] of 2.4GHz baseband. However, terminal device STA1 uses the 5GHz frequency band to send uplink data packets, and the virtual interface VIF[1] of 5GHz baseband receives the uplink data packets. At this time, the virtual interface for receiving uplink data packets is inconsistent with the virtual interface of the main connection of terminal device STA1. It is necessary to transmit uplink data packets to the target wireless interface through the virtual interface of the main connection of terminal device STA1. Therefore, it is necessary to forward the uplink data packets to the virtual interface VIF[1] of 2.4GHz baseband first.

[0151] Similarly, if the terminal device STA1 is connected to the virtual interface VIF[1] of the 5GHz baseband and sends uplink data packets using the 2.4GHz frequency band, it is also necessary to forward the uplink data packets from the virtual interface VIF[1] of the 2.4GHz baseband to the virtual interface VIF[1] of the 5GHz baseband. This embodiment will not elaborate on this.

[0152] If the virtual interface for receiving uplink data packets is the same as the virtual interface of the STA1 main connection of the terminal device, then uplink data packets can be sent directly to the target wireless interface through that virtual interface.

[0153] Regardless of whether the terminal device STA1 is connected to the virtual interface VIF[1] of 2.4GHz baseband or the virtual interface VIF[1] of 5GHz baseband, the wireless interface identifier hwid corresponding to the virtual interface VIF[1] is 1. The target wireless interface is determined to be wlan1. The link type corresponding to the virtual interface VIF[1] is a multi-band link. Then the interface working mode of the target wireless interface wlan1 is multi-band working mode (MLO). Alternatively, it can be said that the main interface of the wireless interface wlan1 is further determined as the target wireless interface wlan1, and the uplink data packet is transmitted to the target wireless interface wlan1.

[0154] In one possible implementation, the terminal device is a single-band terminal device, the target link is a single-band link, and the above-mentioned S130 uses the target link to transmit data packets, including:

[0155] Uplink data packets are transmitted via a virtual interface connected through a single-band terminal device and using a single-band link.

[0156] In this embodiment, the single-band terminal device is connected to the second type of virtual interface on the baseband chip of the corresponding baseband frequency band, and the single-band terminal device sends uplink data packets to the corresponding target wireless interface through the connected second type of virtual interface.

[0157] For example, such as Figure 8 As shown, terminal device STA2 is a 5GHz single-band terminal device, connected to the 5GHz baseband virtual interface VIF[2]. After the 5GHz baseband virtual interface VIF[2] receives the uplink data packet, the firmware determines that the wireless interface identifier hwid corresponding to the 5GHz baseband virtual interface VIF[2] is 1, determines that the target wireless interface is wlan1, and the link type corresponding to the virtual interface VIF[2] is a single-band link. Then the interface working mode of the target wireless interface wlan1 is the single-band working mode (DBDC). Alternatively, it can be said that the derived interface of the wireless interface wlan1 is further determined as the target wireless interface wlan1-1, and the uplink data packet is transmitted to the target wireless interface wlan1-1.

[0158] The wireless communication method provided in the above embodiments determines the target wireless interface and its working mode based on the wireless interface identifier and link type for uplink data packets, so as to send uplink data packets to the target wireless interface using the corresponding link, thereby achieving mutual isolation between links and allowing each link to transmit data simultaneously, ensuring the flexibility of link scheduling.

[0159] In one possible implementation, Figure 9 A flowchart illustrating the wireless communication method provided in the embodiments of this application. Figure 3 ,like Figure 9 As shown, the process of transmitting uplink data packets using the target link in S130 above may include:

[0160] S310. Send the uplink data packet to the response entity corresponding to the target radio interface of the target link.

[0161] S320: The responding entity sends uplink data packets to the target radio interface according to the priority of the uplink data packets.

[0162] In this embodiment, Figure 10 The channel diagram of the uplink data packets provided in the embodiments of this application is as follows: Figure 10As shown, the firmware transmits uplink data packets through the main communication channel with the host, using the First In First Out (FIFO) principle for data transmission. Each wireless interface has a response entity tasklet / pthread. Based on the target link of the determined uplink data packet, the firmware determines the response entity corresponding to the target wireless interface of the target link and transmits the uplink data packet to the response entity corresponding to the target wireless interface.

[0163] The driver layer determines the priority of uplink data packets according to preset rules, and uses communication resources to send uplink data packets to the target wireless interface according to the priority.

[0164] In some embodiments, the driver layer determines the priority of uplink data packets based on information such as the interface operating mode of the target wireless interface (or the main interface or derived interface), the link state of the target link, the length of the uplink data packet, and the Quality of Service (QoS) weight.

[0165] Example, Figure 11 The message timing diagram provided for the embodiments of this application is as follows: Figure 11 As shown, assuming the scenario is that wlan0 starts MLO and wlan0-1 starts 2G DBDC, for the uplink data packets themselves, whether they are high-priority or low-priority data packets, the uplink data packets transmitted through MLO have a higher priority than the uplink data packets transmitted through DBDC. The resources used by high-priority data packets during transmission cannot be preempted, while the resources used by low-priority data packets during transmission can be preempted. After the resources are preempted, the data packets are buffered and wait for the resources to be released before being retransmitted.

[0166] It should be noted that both uplink and downlink data packets can be transmitted based on priority.

[0167] The wireless communication method provided in the above embodiments is based on sending uplink data packets to the target wireless interface according to the priority of uplink data packets, and dynamically adjusting the priority of data packets of each link, thereby realizing fair competition and bandwidth balance among multiple links at the data path level, and ensuring the service quality and latency sensitivity requirements of each service type across different links.

[0168] In one possible implementation, the data packet to be transmitted is a downlink data packet, and the process of determining the target link in S120 based on the interface operating mode information of the data packet to be transmitted may include:

[0169] Determine the interface operating mode of the radio interface for transmitting downlink data packets; determine the target link based on the interface operating mode.

[0170] In this embodiment, if the wireless interface for transmitting downlink data packets operates in multi-band mode (MLO), or in other words, the wireless interface for transmitting downlink data packets is the main interface, the target link is determined to be the multi-band link of that wireless interface; if the wireless interface for transmitting downlink data packets operates in single-band mode (MLO), or in other words, the wireless interface for transmitting downlink data packets is a derived interface, the target link is determined to be the single-band link of that wireless interface.

[0171] If the target link is a single-band link of the wireless interface, then downlink data packets are sent directly to the single-band terminal device through the virtual interface of the single-band link.

[0172] In some embodiments, the target link is a multi-band link, and the process of transmitting data packets using the target link in step S130 above may include:

[0173] According to the preset transmission rules, the target virtual interface is determined from each of the first type of virtual interfaces of the multi-band link; downlink data packets are sent to the terminal device through the target virtual interface.

[0174] In this embodiment, since the wireless interface in a multi-band link can use the first type of virtual interface on multiple baseband chips, a first type of virtual interface can be selected as the target virtual interface according to the preset transmission rules, and downlink data packets can be sent to the terminal device through the target virtual interface.

[0175] In some embodiments, the preset transmission rule can be to determine the transmission rate based on the type of downlink data packet, and based on the transmission rate, determine the first type of virtual interface on the baseband chip that meets the transmission rate requirement as the target virtual interface.

[0176] In other embodiments, the preset transmission rule can be the resource occupancy balance rule of the baseband chip, which selects the first type of virtual interface on the baseband chip with the least resource occupancy as the target virtual interface.

[0177] It should be noted that the preset sending rules can also be other rules in the field of communication, all of which are within the protection scope of this solution, and this embodiment does not impose any restrictions on them.

[0178] Example, Figure 12 A schematic diagram of downlink data packet transmission provided in the embodiments of this application. Figure 1 ,like Figure 12 As shown, wlan0 is in multi-band operation mode (MLO), while wlan0-1 and wlan1 are in single-band operation mode (DBDC). Figure 13A schematic diagram of downlink data packet transmission provided in the embodiments of this application. Figure 2 ,like Figure 13 As shown, wlan1 is in multi-band operating mode (MLO), while wlan0 and wlan1-1 are in single-band operating mode (DBDC).

[0179] For downlink data packets transmitted via a single-band link, hwlink_id is the default value, which can be 0. For downlink data packets transmitted via a multi-band link, the transmission resource identifier is determined by a preset transmission rule. The transmission resource identifier is used to indicate the baseband chip used. For example, hwlink_id=0 indicates that the virtual interface VIF[0] on the 2.4GHz baseband is used to transmit downlink data packets, and hwlink_id=1 indicates that the virtual interface VIF[0] on the 5GHz baseband is used to transmit downlink data packets. bandid is used to indicate the baseband chip. bandid=0 indicates 2.4GHz baseband, and bandid=1 indicates 5GHz baseband.

[0180] In one possible implementation, before the above-mentioned S130 transmits data packets via the target link, the method further includes:

[0181] The system sends a user addition request from the first management master module of the target baseband chip to the first user management module of the target baseband chip; sends a user management service suspension request from the first user management module to the second user management module of other baseband chips, so that both the first and second user management modules suspend user management services; adds users to the terminal device through the first user management module, notifies the second user management module to save the user information of the terminal device, and resumes the user management service; and sends feedback information to the terminal device that the user addition is complete through the first management master module.

[0182] In this embodiment, Figure 14 The normalized management interaction diagram of the terminal device provided in the embodiments of this application is as follows: Figure 14 As shown, before the wireless router and the terminal device can communicate, the terminal device needs to register as a user on the wireless router.

[0183] Specifically, the target baseband chip is any one of the multiple baseband chips in the wireless router device. The first management master module is the main management module for the target baseband chip, used to manage multiple functions of the target baseband chip. The first user management module is the user management module for the target baseband chip, used to manage user registration for the target baseband chip. After the terminal device sends a user add request to the first management master module, the first management master module sends a user add request to the first user management module. To avoid inconsistencies in information during the user add process, the first user management module suspends its service and requests the second user management modules of other baseband chips to also suspend their services. After confirming that the second user management modules have suspended their services, the first user management module performs the user add. After successful addition, the first management master module provides feedback to the user and notifies the second user management modules of other baseband chips to save the user information of the terminal device, thereby achieving unified management of the terminal device across multiple baseband chips. Afterward, the first user management module and the second user management module can resume user management services.

[0184] In some embodiments, the method may further include:

[0185] The first management master module receives the key sent by the terminal device and synchronizes the key with the second management master module of other baseband chips.

[0186] In this embodiment, the wireless router is set with a password. If the terminal device is a multi-band terminal device, when the terminal device needs to establish a connection with the first management master module of the wireless router, it sends a key to the first management master module. Based on MLO technology, the terminal device can also transmit information through other baseband chips. Therefore, the first management master module also forwards the key sent by the terminal device to the second management master module of other baseband chips. In this way, the terminal device does not need to re-enter the key when transmitting information through other baseband chips.

[0187] If the terminal device is a single-band terminal device, after sending the key to the first management master module of the baseband chip of the corresponding frequency band, the first management master module will not forward the key to the second management master module of other baseband chips.

[0188] Based on the above method embodiments, this application also provides a wireless communication device applied to a wireless routing device. The wireless routing device includes: multiple wireless interfaces and multiple baseband chips corresponding to the multiple wireless interfaces, wherein the multiple baseband chips have different baseband frequency bands. Figure 15 This is a schematic diagram of the structure of the wireless communication device provided in the embodiments of this application, such as... Figure 15 As shown, the device may include:

[0189] The interface creation module 410 is used to create multiple virtual interfaces on each baseband chip. The multiple virtual interfaces include: a first type of virtual interface and a second type of virtual interface. Each wireless interface is connected to a first type of virtual interface on the multiple baseband chips to form a multi-band link for each wireless interface. Each wireless interface is connected to a second type of virtual interface on the corresponding baseband chip to form a single-band link for each wireless interface.

[0190] The link determination module 420 is used to determine the target link based on the interface operating mode information of the data packet to be transmitted; the interface operating mode information is used to indicate whether the link to be transmitted is a multi-band link or a single-band link.

[0191] The data transmission module 430 is used to transmit data packets via the target link.

[0192] Optionally, the interface creation module 410 is specifically used to create a first type of virtual interface on multiple baseband chips in response to the creation instruction of each wireless interface for the first interface working mode, so that each wireless interface forms a multi-band link with the first type of virtual interface on the multiple baseband chips; and to create a second type of virtual interface on the baseband chip corresponding to each wireless interface in response to the creation instruction of each wireless interface for the second interface working mode, so that each wireless interface forms a single-band link with the second type of virtual interface on the corresponding baseband chip.

[0193] Optionally, the device further includes:

[0194] The interface startup module is used to activate each type of first-class virtual interface on the multi-band link corresponding to any wireless interface in response to a startup command for the first interface working mode of any wireless interface.

[0195] Optionally, the interface startup module is also configured to activate the second type of virtual interface on the single-band link corresponding to any wireless interface in response to a startup command for the second interface operating mode of any wireless interface.

[0196] Optionally, the data packet to be transmitted is an uplink data packet, and the device further includes:

[0197] The interface determination module is used to determine the target wireless interface based on the wireless interface identifier corresponding to the virtual interface that receives the uplink data packets; and to determine the interface operating mode of the target wireless interface based on the link type corresponding to the virtual interface that receives the uplink data packets.

[0198] Optionally, the terminal device is a multi-band terminal device, the target link is a multi-band link, and the data transmission module 430 is used to forward the uplink data packet to the virtual interface of the main connection of the multi-band terminal device if the virtual interface of the main connection of the multi-band terminal device and the virtual interface for receiving the uplink data packet sent by the multi-band terminal device are different virtual interfaces on the multi-band link; and to transmit the uplink data packet through the virtual interface of the main connection of the multi-band terminal device using the multi-band link.

[0199] Optionally, the terminal device is a single-band terminal device, the target link is a single-band link, and the data transmission module 430 is used to transmit uplink data packets through the virtual interface connected by the single-band terminal device using the single-band link.

[0200] Optionally, the data transmission module 430 is used to send uplink data packets to the response entity corresponding to the target radio interface of the target link; and the response entity sends uplink data packets to the target radio interface according to the priority of the uplink data packets.

[0201] Optionally, the data packet to be transmitted is a downlink data packet, and the link determination module 420 is used to determine the interface operating mode of the wireless interface for transmitting the downlink data packet; and determine the target link according to the interface operating mode.

[0202] Optionally, the target link is a multi-band link, and the data transmission module 430 is used to determine the target virtual interface from each of the first type of virtual interfaces of the multi-band link according to the preset transmission rules; and send downlink data packets to the terminal device through the target virtual interface.

[0203] Optionally, the device further includes:

[0204] The user addition module is used to send a user addition request from the terminal device to the first user management module of the target baseband chip through the first management master module of the target baseband chip; send a user management service suspension request to the second user management module of other baseband chips through the first user management module, so that both the first user management module and the second user management module suspend user management services; add users of the terminal device through the first user management module, notify the second user management module to save the user information of the terminal device, and resume user management services; and send user addition completion information to the terminal device through the first management master module.

[0205] Optionally, the user-added module is also used to receive keys sent by terminal devices through the first management master module and to synchronize keys with the second management master modules of other baseband chips.

[0206] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0207] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).

[0208] Figure 16 A schematic diagram of a wireless routing device provided in an embodiment of this application, such as... Figure 16 As shown, the wireless router device 500 may include a processor 510, a storage medium 520, and a bus. The storage medium 520 stores program instructions executable by the processor 510. When the wireless router device 500 is running, the processor 510 communicates with the storage medium 520 via the bus, and the processor 510 executes the program instructions to perform the above-described method embodiment. The specific implementation and technical effects are similar and will not be described in detail here.

[0209] Optionally, this application also provides a computer-readable storage medium storing a computer program, which is executed by a processor to perform the above-described method embodiments.

[0210] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0211] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0212] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.

[0213] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0214] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A wireless communication method, characterized in that, The method is applied to a wireless routing device, the wireless routing device comprising: multiple wireless interfaces, and multiple baseband chips corresponding one-to-one with the multiple wireless interfaces, wherein the multiple baseband chips have different baseband frequency bands, the method comprising: Multiple virtual interfaces are created on each baseband chip. The multiple virtual interfaces include: a first type of virtual interface and a second type of virtual interface. Each wireless interface is connected to a first type of virtual interface on the multiple baseband chips to form a multi-band link for each wireless interface. Each wireless interface is connected to a second type of virtual interface on the corresponding baseband chip to form a single-band link for each wireless interface. The target link is determined based on the interface operating mode information of the data packet to be transmitted; the interface operating mode information is used to indicate whether the link to be transmitted is a multi-band link or a single-band link. The data packet is transmitted using the target link.

2. The method as described in claim 1, characterized in that, The creation of multiple virtual interfaces on each baseband chip includes: In response to the creation instruction for each wireless interface for the first interface operating mode, a first type of virtual interface is created on each of the plurality of baseband chips, so that each wireless interface and the first type of virtual interface on the plurality of baseband chips form the multi-band link; In response to the creation instruction for the second interface operating mode for each wireless interface, a second type of virtual interface is created on the baseband chip corresponding to each wireless interface, so that each wireless interface and the second type of virtual interface on the corresponding baseband chip form the single-band link.

3. The method as described in claim 2, characterized in that, After creating multiple virtual interfaces on each baseband chip, the method further includes: In response to a start command for a first interface operating mode for any wireless interface, activate each of the first type of virtual interfaces on the multi-band link corresponding to that wireless interface; and / or, In response to a start command for the second interface operating mode for any wireless interface, the second type of virtual interface on the single-band link corresponding to any wireless interface is activated.

4. The method as described in claim 1, characterized in that, The data packet to be transmitted is an uplink data packet. Before determining the target link based on the interface working mode information of the data packet to be transmitted, the method further includes: The target wireless interface is determined based on the wireless interface identifier corresponding to the virtual interface that receives the uplink data packet; The interface operating mode of the target wireless interface is determined based on the link type corresponding to the virtual interface that receives the uplink data packet.

5. The method as described in claim 4, characterized in that, The terminal device is a multi-band terminal device, the target link is the multi-band link, and the transmission of the data packet using the target link includes: If the virtual interface of the main connection of the multi-band terminal device and the virtual interface for receiving the uplink data packet sent by the multi-band terminal device are different virtual interfaces on the multi-band link, the uplink data packet is forwarded to the virtual interface of the main connection of the multi-band terminal device. The uplink data packets are transmitted via the virtual interface of the main connection of the multi-band terminal equipment and the multi-band link.

6. The method as described in claim 5, characterized in that, The transmission of the uplink data packet using the target link includes: The uplink data packet is sent to the response entity corresponding to the target radio interface of the target link; The response entity sends the uplink data packet to the target wireless interface according to the priority of the uplink data packet.

7. The method as described in claim 1, characterized in that, The data packet to be transmitted is a downlink data packet. Determining the target link based on the interface operating mode information of the data packet to be transmitted includes: Determine the interface operating mode of the wireless interface for transmitting the downlink data packets; The target link is determined based on the interface's operating mode.

8. The method as described in claim 7, characterized in that, The target link is a multi-band link, and the transmission of the data packet using the target link includes: According to the preset transmission rules, the target virtual interface is determined from each of the first type of virtual interfaces of the multi-band link; The downlink data packet is sent to the terminal device through the target virtual interface.

9. The method as described in claim 1, characterized in that, Before transmitting the data packet using the target link, the method further includes: The first management master module of the target baseband chip sends a user addition request for the terminal device to the first user management module of the target baseband chip; The first user management module sends a user management service suspension request to the second user management module of other baseband chips, so that both the first user management module and the second user management module suspend user management services. The first user management module adds users to the terminal device, notifies the second user management module to save the user information of the terminal device, and restores the user management service. The first management module sends feedback to the terminal device to indicate that the user has completed adding the feature.

10. A wireless routing device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores program instructions executable by the processor, and when the wireless routing device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the wireless communication method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method for establishing connection between double hotspots, electronic equipment and readable storage medium

    CN113015264A

  • Dynamic networking method and device, terminal equipment and readable storage medium

    CN118158684A