Datagram sending method, device and communication equipment
By selecting interference reduction strategies based on signal strength and optimizing the data packet transmission process, the packet loss problem caused by inter-device interference in the Mesh network is solved, thereby improving network throughput and communication quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TP-LINK
- Filing Date
- 2022-12-30
- Publication Date
- 2026-05-29
AI Technical Summary
When using spatial multiplexing technology, there is significant wireless signal interference between devices in different BSS networks within a Mesh network, resulting in a high packet loss rate and impacting network throughput.
By determining the signal strength from the terminal to the access point, appropriate interference reduction strategies are selected, including reducing transmit power, adaptive beamforming, and OFDMA resource unit allocation, to optimize the data packet transmission process and reduce interference.
It effectively reduces wireless signal interference between devices, reduces packet loss rate, and improves the overall throughput and communication quality of the Mesh network.
Smart Images

Figure CN116260537B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, and in particular relates to data message transmission methods, apparatus, communication equipment and computer-readable storage media. Background Technology
[0002] The 802.11 protocol group has released the new 802.11ax version of the wireless protocol, marking the official entry of wireless local area networks into the sixth generation wireless network technology era (IEEE 802.11ax, WiFi 6).
[0003] To address the issue of low space utilization caused by the strict collision avoidance mechanism of the old WiFi protocol, the WiFi 6 protocol introduced the Spatial Reuse (SR) function. This SR function allows basic service sets (BSS) that are spatially far apart to send wireless packets simultaneously by modulating the Clear Channel Assessment (CCA) threshold and transmit power, thereby improving the overall network capacity.
[0004] While spatial reuse increases overall network throughput, it also causes wireless signal interference between devices. When interference is significant, packet loss occurs, thus reducing throughput. For example... Figure 1 As shown, BSS2 satisfies the SR condition. When BSS2 performs spatial multiplexing, the terminal of BSS1 ( Figure 1 If the terminal of BSS1 (a tablet device) is located far away, the SR data packets of BSS2 will interfere with the normal packets of BSS1. After the terminal of BSS1 is interfered with, it will fail to receive data packets.
[0005] For mesh networks, different BSSs can be combined to form a mesh network. Each BSS has an independent frontHaul (FH) to provide network services to its own terminals. Although Spatial Reuse technology allows for spatial reuse of the FH between networks within a mesh, improving the overall network capacity, there is still a possibility of terminal interference leading to packet reception failure when using Spatial Reuse technology. Summary of the Invention
[0006] This application provides a data packet sending method, apparatus, and communication device, which can solve the problem of high packet loss rate when sending data packets using spatial multiplexing.
[0007] In a first aspect, embodiments of this application provide a data packet transmission method applied to a first wireless access point (AP), the data packet transmission method comprising:
[0008] Determine the signal strength from the first terminal to the first AP, where both the first AP and the first terminal belong to the first basic service set (BSS) network.
[0009] The corresponding interference reduction strategy is selected based on the signal strength from the first terminal to the first AP. Compared with before the first AP responds to the interference reduction strategy, after the first AP responds to the interference reduction strategy, the interference to the wireless signal of the second terminal is lower when it sends data packets. The BSS network to which the second terminal belongs is the second BSS network. The second BSS network and the first BSS network belong to the same Mesh network.
[0010] Based on the selected interference reduction strategy, data packets are sent to the first terminal using spatial multiplexing technology.
[0011] Secondly, embodiments of this application provide a data packet sending apparatus, applied to a first wireless access point (AP), comprising:
[0012] The signal strength determination module is used to determine the signal strength from the first terminal to the first AP, where both the first AP and the first terminal belong to the first basic service set (BSS) network.
[0013] The interference reduction strategy selection module is used to select a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP. Compared with before the first AP responds to the interference reduction strategy, after the first AP responds to the interference reduction strategy, the interference to the wireless signal of the second terminal when sending data packets is lower. The BSS network to which the second terminal belongs is the second BSS network. The second BSS network and the first BSS network belong to the same Mesh network.
[0014] The data packet sending module is used to send data packets to the first terminal using spatial multiplexing technology according to the selected interference reduction strategy.
[0015] Thirdly, embodiments of this application provide a communication device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect.
[0016] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect.
[0017] Fifthly, embodiments of this application provide a computer program product that, when run on a communication device, causes the communication device to execute the method described in the first aspect above.
[0018] The beneficial effects of the embodiments in this application compared with the prior art are:
[0019] In this embodiment, when the signal strength from the first terminal to the first AP is strong, appropriately reducing the transmission power of the first AP for spatial multiplexing will not affect the communication quality between the first AP and the first terminal. Furthermore, the lower the transmission power of the first AP, the less interference it causes to other terminals when sending data packets. Therefore, selecting a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP can maximize spatial multiplexing gain while strictly limiting interference. Simultaneously, since the interference to the second terminal's wireless signal is lower after the first AP responds to the interference reduction strategy compared to before, selecting a more accurate interference reduction strategy for data packet transmission reduces interference to the second terminal's wireless signal, thereby reducing the second terminal's packet loss rate. Moreover, since the first BSS network to which the first AP belongs and the second BSS network to which the second terminal belongs belong to the same mesh network, reducing the second terminal's packet loss rate is equivalent to reducing the mesh network's packet loss rate. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0021] Figure 1 This is a diagram illustrating significant interference between two existing BSS networks when using spatial multiplexing technology to send data packets.
[0022] Figure 2 This is a flowchart of a data packet sending method provided in an embodiment of this application;
[0023] Figure 3 This is a schematic diagram illustrating the information that an AP needs to collect, according to an embodiment of this application;
[0024] Figure 4 This is a schematic diagram of the structure of a data packet sending device according to an embodiment of this application;
[0025] Figure 5 This is a schematic diagram of the structure of the communication device provided in the embodiments of this application. Detailed Implementation
[0026] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0027] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0028] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0029] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0030] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.
[0031] Example 1:
[0032] To achieve spatial reuse, Spatial Reuse needs to meet the following conditions:
[0033] (1) Within the same BSS, all WiFi 6 devices (such as wireless access points (APs) and stations (STAs) associated with the same BSS have the same BSS color. WiFi 6 devices in different BSSs have different BSS colors, that is, the BSS color serves as the identifier of the BSS network.
[0034] (2) WiFi 6 devices declare their own BSS Color in the preamble to ensure that other WiFi 6 devices can identify whether the received signal is their own BSS (Self BSS) or the Overlapping Basic Service Set (OBSS) signal during the preamble stage.
[0035] (3) If the energy of the OBSS signal received by the current WiFi6 device is lower than the threshold customized by Spatial Reuse (represented by OBSS PD), the current WiFi6 device can terminate the demodulation of the OBSS signal and send packets, thereby realizing the simultaneous transmission of data domain packets and achieving the purpose of spatial reuse.
[0036] When BSSs within a mesh network use Spatial Reuse for spatial reuse, packet loss can occur if there is significant wireless signal interference between devices in different BSS networks. In other words, while Spatial Reuse increases overall network throughput through spatial reuse, it can also reduce overall network throughput when packet loss occurs due to significant wireless signal interference between devices.
[0037] To reduce packet loss caused by spatial reuse technology in BSS within a mesh network, this application provides a data packet transmission method. In this method, when a first AP wants to send a data packet to a terminal (assumed to be the first terminal) belonging to the same BSS network using spatial reuse technology, the first AP first determines the signal strength from the first terminal to the first AP, and then selects a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP.
[0038] The data packet sending method provided in the embodiments of this application is described below with reference to the accompanying drawings.
[0039] Figure 2 A flowchart of a data packet transmission method provided in an embodiment of this application is shown. This data packet transmission method is applied to a first AP, and is described in detail below:
[0040] Step S21: Determine the signal strength from the first terminal to the first AP. Both the first AP and the first terminal belong to the first BSS network.
[0041] The first BSS network is the BSS network to which the first AP and the first terminal belong.
[0042] The stronger the signal strength from the first terminal to the first AP, the closer the first terminal is to the first AP; conversely, the weaker the signal strength, the farther the first terminal is from the first AP.
[0043] Step S22: Select a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP. Compared with before the first AP responded to the interference reduction strategy, after the first AP responded to the interference reduction strategy, the interference to the wireless signal of the second terminal when sending data packets is lower. The BSS network to which the second terminal belongs is the second BSS network. The second BSS network and the first BSS network belong to the same Mesh network.
[0044] Specifically, different signal strength ranges are pre-set to correspond to different interference reduction strategies. In this way, after the signal strength from the first terminal to the first AP is determined, the interference reduction strategy corresponding to the signal strength is determined according to the signal strength range corresponding to the signal strength.
[0045] In this embodiment of the application, the first AP responding to the interference reduction strategy means that the first AP performs the corresponding action according to the selected interference reduction strategy in order to reduce the interference to the wireless signal of the second terminal when it sends data packets.
[0046] Step S23: According to the selected interference reduction strategy, send data packets to the first terminal using spatial multiplexing technology.
[0047] In this embodiment, when the signal strength from the first terminal to the first AP is strong, appropriately reducing the transmission power of the first AP for spatial multiplexing will not affect the communication quality between the first AP and the first terminal. Furthermore, the lower the transmission power of the first AP, the less interference it causes to other terminals when sending data packets. Therefore, selecting a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP can maximize spatial multiplexing gain while strictly limiting interference. Simultaneously, since the interference to the second terminal's wireless signal is lower after the first AP responds to the interference reduction strategy compared to before, selecting a more accurate interference reduction strategy for data packet transmission reduces interference to the second terminal's wireless signal, thereby reducing the second terminal's packet loss rate. Moreover, since the first BSS network to which the first AP belongs and the second BSS network to which the second terminal belongs belong to the same mesh network, reducing the second terminal's packet loss rate is equivalent to reducing the mesh network's packet loss rate.
[0048] In some embodiments, step S22 includes:
[0049] If the signal strength from the first terminal to the first AP is greater than a preset first signal strength threshold, the selected interference reduction strategy is to reduce the transmit power of the first AP.
[0050] In this embodiment of the application, when the signal strength from the first terminal to the first AP is greater than a preset first signal strength threshold, it indicates that the distance between the first AP and the first terminal is relatively close. At this time, even if the transmission power of the first AP is reduced for spatial multiplexing, the communication quality between the first AP and the first terminal will not be affected. The lower the transmission power of the first AP, the less interference the first AP will cause to other terminals when sending data packets, thereby ensuring that spatial multiplexing has a relatively large gain.
[0051] In some embodiments, the data packet sending method provided in this application further includes:
[0052] A1. Receive the signal table sent by the second AP. The signal table includes the MAC address of the second terminal, the BSS color, and the second signal strength. The second signal strength is the signal strength from the second terminal to the second AP. The second AP belongs to the second BSS network.
[0053] In this embodiment, different BSSs within the same mesh network transmit signals backward through a BackH (BH) network. This means each BSS network can broadcast its stored signal tables to other BSS networks within the same mesh network via the BH network. In other words, in this embodiment, the first AP can receive signal tables sent by other APs belonging to the same mesh network via the BH network. For example, assuming the mesh network includes three different BSS networks, the first AP will receive signal tables sent by the other two APs (i.e., the two second APs).
[0054] Specifically, each AP in the BSS network within the Mesh network collects the MAC address, BSS color, and Received Signal Strength Indication (RSSI) of the terminals within its network, and stores these information in a signal table established by that AP. To distinguish it from the subsequent first signal strength, the RSSI collected by each AP from the terminals within its network is referred to here as the second signal strength.
[0055] like Figure 3 As shown, OBSS1 is a BSS network, and "STA1" represents the terminal within OBSS1. The AP of OBSS1 collects information including BSS color, RSSI and MAC address, and records this information in the signal table, as shown in Table 1.
[0056] Table 1:
[0057]
[0058] In Table 1 above, Interference RSSI represents the interference signal strength, which is the first signal strength obtained in step A2 below.
[0059] A2. Determine the first signal strength based on the MAC address and BSS color mentioned above. The first signal strength is the signal strength from the second terminal to the first AP.
[0060] In this embodiment of the application, the first signal strength can be obtained by the first AP detecting the Clear to Send (CTS) frame signal of the second terminal.
[0061] Since WiFi 6 devices within the same BSS network have the same BSS color, it is necessary to determine the corresponding terminal using both the MAC address and the BSS color. In this embodiment, after determining the first signal strength corresponding to the MAC address and BSS color, the first signal strength can be recorded in the corresponding position of the signal table containing the MAC address and BSS color, based on the various signal tables received by the first AP.
[0062] A3. Determine the rate at which the second AP sends data packets to the second terminal.
[0063] Specifically, after the first AP receives the message sent by the second AP to the second terminal (i.e., the OBSS network), it parses the message and obtains the rate of the message.
[0064] A4. Based on the first signal strength, the second signal strength, and the rate, determine the power reduction required for the first AP to transmit data packets using spatial multiplexing technology.
[0065] Specifically, after the first AP receives the data packet sent by the second AP to the second terminal (i.e., the one receiving the OBSS network), it parses the (Request To Send, RTS) and the preamble of the data frame in the data packet, and obtains the terminal's MAC address and BSS color from the RTS frame and the preamble of the data frame, respectively. Based on the MAC address and BSS color, the first AP calculates the Interference RSSI (i.e., the first signal strength) corresponding to the MAC address and BSS color.
[0066] In some embodiments, the power reduction required by the first AP when transmitting data packets using spatial multiplexing technology is determined according to the following formula, wherein the required power reduction is expressed as a percentage reduction in dB:
[0067] Power Diff=Interference RSSI+SNR(Rate)-RSSI.
[0068] Wherein, Power Diff is the power reduction ratio in dB, Interference RSSI is the first signal strength mentioned above, and SNR (Rate) is the signal-to-noise ratio required to demodulate the Rate-modulated wireless signal, with the unit of SNR being dB. RSSI in the above formula is the second signal strength.
[0069] A5. Generate the strategy to reduce the transmit power of the first AP as described above, based on the power reduction requirement.
[0070] Specifically, since the strategy for reducing the transmit power of the first AP is generated based on the calculated power reduction, the first AP can know the power reduction it needs to achieve based on this strategy.
[0071] In this embodiment, when calculating the power reduction required for the first AP to transmit data packets using spatial multiplexing technology, the strength of the interference signal, the signal-to-noise ratio required for demodulating the rate-modulated wireless signal, and the signal strength of the terminals within the network are considered. Since the magnitude of the transmission power affects these parameters, the accuracy of the calculated Power Diff can be guaranteed by the above formula.
[0072] In some embodiments, in order to collect signal strength, in this application embodiment, when a device in the Mesh network sends a data packet, it is necessary to add a (Request To Send, RTS) frame, that is, to force the terminal receiving the data packet to reply with a (Clear To Send, CTS) frame, so that the AP devices of other BSSs can learn the signal strength of the terminal. In this case, the above step A2 includes:
[0073] A21. After obtaining the request to send control frame (RTS) from the second AP, parse the RTS frame to obtain the MAC address of the receiving device included in the RTS frame.
[0074] Specifically, the first AP listens to the channel. If it hears the second AP sending an RTS frame, it parses the RTS frame to obtain the MAC address of the receiving device (i.e., the second terminal) from the Receiver Address (RA) field of the RTS frame.
[0075] A22. Obtain the signal strength of the transmission control frame (CTS) corresponding to the above RTS frame.
[0076] Specifically, the first AP continues to monitor the channel. If it detects a CTS frame returned by the receiving device based on the RTS frame, it parses the signal strength from the CTS frame and records the parsed signal strength as the interference signal strength of the receiving device.
[0077] A23. Obtain the data packets sent to the second terminal that are monitored after the RTS frame of the second AP, and parse the BSS color from the monitored data packets.
[0078] Specifically, after issuing the RTS command, if the second AP receives a CTS frame from the second terminal, it will continue to send data packets in 802.11ax mode. At this time, the first AP will listen to the data packets sent by the second AP. Since the data packets include the BSS color of the BSS network where the second AP is located, the first AP can obtain the BSS color corresponding to the second AP by parsing the data packets.
[0079] A24. The signal strength of the CTS frame corresponding to the above RTS frame is taken as the first signal strength corresponding to the above MAC address and the above BSS color.
[0080] Referring to Table 1 above, once the MAC address and BSS color are determined, it becomes possible to determine which row in Table 1 the signal strength parsed from the CTS frame should be recorded in, that is, to determine which MAC address and which BSS color the signal strength corresponds to.
[0081] In this embodiment, since RTS frames are required when devices in a Mesh network send data packets, the first AP can obtain the signal strength from the second terminal to the first AP by listening to and parsing RTS frames sent by APs in other BSS networks, and by listening to and parsing CTS frames returned by terminals (i.e., the second terminal) in those other BSS networks. Furthermore, since the signal strength from the terminal to the first AP is obtained by the first AP parsing the CTS frames it listens to, the accuracy of the obtained signal strength can be guaranteed.
[0082] In some embodiments, the data packet sending method provided in this application further includes:
[0083] B1. Determine the channel state information (CSI) of the downlink channel from the first AP to the first terminal.
[0084] Specifically, the first AP can use spatial multiplexing technology to send Null Data Packet Announcement (NDPA) frames and Null Data Packets (NDP) to determine the CSI from the first AP to the first terminal, thereby improving the accuracy of the obtained CSI.
[0085] B2. Obtain the CSI from the first AP to the second terminal mentioned above, and obtain the second CSI.
[0086] Specifically, the CSIs of different terminals can be acquired and stored in advance. Then, the CSI of the second terminal can be directly searched in the stored CSIs.
[0087] Correspondingly, step S22 above includes:
[0088] If the signal strength from the first terminal to the first AP is less than or equal to a preset first signal strength threshold and greater than a preset second signal strength threshold, then the selected interference reduction strategy is an adaptive beamforming strategy. The adaptive beamforming strategy is used to modulate the data packets that the first AP needs to send according to the first CSI and the second CSI.
[0089] Specifically, assuming that subscript "1" represents a device belonging to the first BSS network and subscript "2" represents a device belonging to the second BSS network, the overall channel matrix is as follows:
[0090]
[0091] H1 is the CSI channel information matrix of the devices within the first BSS network, and H2 is the CSI channel information matrix of the nodes in the OBSS (i.e., the second BSS) network. Then, least-squares precoding is performed, resulting in the following precoding matrix:
[0092]
[0093] When sending packets, if the data that the internal node originally intended to send is X1, then according to the precoding formula obtained above, the data after adaptive beamforming needs to be modulated into... The remaining 0s indicate that no data is sent to the channel path of the OBSS node.
[0094]
[0095] In this embodiment of the application, when the distance between the first AP and the first terminal is neither close nor far (i.e., the signal strength from the first terminal to the first AP is neither large nor small), directly reducing the transmission power of the first AP may affect the negotiation rate between the first AP and the first terminal. However, if the data packet to be transmitted by the first AP is modulated, the first AP can transmit the data packet through spatial multiplexing technology without affecting other nodes as much as possible, thereby reducing interference to other nodes.
[0096] In some embodiments, step S22 includes:
[0097] If the signal strength from the first terminal to the first AP is less than or equal to the second signal strength threshold, the selected interference reduction strategy is an adaptive Orthogonal Frequency Division Multiple Access (OFDMA) Resource Unit (RU) allocation strategy. The adaptive OFDMA RU allocation strategy is used to locate the target RU, and when the target RU is located, a narrowband OFDMA signal is transmitted on the target RU. The ratio obtained by dividing the average attenuation amplitude of the subcarriers of the second CSI within the target RU by the average attenuation amplitude of all subcarriers of the second CSI, in decibels (dB), is greater than the power reduction required by the first AP when transmitting data packets using spatial multiplexing technology (the required power reduction is expressed as a power reduction ratio in decibels (dB)).
[0098] Specifically, when the first AP receives a data packet sent by the OBSS network, it obtains the BSS color and terminal MAC address information of the OBSS through the RTS frame and the preamble of the data packet. Then, it retrieves the CSI corresponding to the BSS color and terminal MAC address from the signal table that records the CSI. Finally, it uses the following traversal algorithm to find the target RU to improve the accuracy of the found target RU:
[0099] ① Calculate the average attenuation amplitude of each subcarrier in the current CSI.
[0100] ② Set the bandwidth of the RU to half that of the CSI.
[0101] ③ Traverse all RUs after the bandwidth size has been set.
[0102] ④ For each RU, calculate the average attenuation amplitude of its internal subcarriers, divide it by the average attenuation amplitude of each subcarrier in the CSI, and convert the quotient to logarithmic units in dB. If this result exceeds the power reduction required by the first AP when transmitting data packets using spatial multiplexing technology (i.e., the Power Diff calculated in logarithmic units in dB), then the current RU is considered to meet the condition, and the algorithm ends. Otherwise, continue traversing.
[0103] ⑤ After the traversal ends, if the bandwidth of the RU has not reached the lower limit specified by the protocol, it indicates that the RU can be further divided. In this case, the bandwidth of the RU is halved again, and ③ is executed. Otherwise, it is determined that there is no RU with deep fading that meets the conditions, and the traversal algorithm ends.
[0104] In this embodiment, since the average attenuation amplitude of the subcarriers of the second CSI inside the target RU is greater than the average attenuation amplitude of each subcarrier of the second CSI, the comparison result is greater than the power reduction required by the first AP when transmitting data packets using spatial multiplexing technology. Therefore, transmitting narrowband OFDMA signals on the target RU can not only increase the signal range, but also reduce interference to other terminals when the first AP transmits data packets, thereby helping to reduce the packet loss rate of the Mesh network.
[0105] In some embodiments, step B2 above includes:
[0106] B21. Send a Null Data Packet Announcement (NDPA) frame to the second terminal. The source address of the NDPA frame is the MAC address of the second AP, and the destination address of the NDPA frame is the MAC address of the second terminal. The second AP belongs to the second BSS network.
[0107] B22. Send a Null Data Packet (NDP) frame to the second terminal mentioned above. The BSS color of the physical layer preamble of the NDP frame is the same as the BSS color of the second AP.
[0108] B23. Receive the compressed beamforming feedback (CBF) sent by the second terminal based on the NDPA frame and NDP frame, and obtain the CSI from the first AP to the second terminal from the CBF.
[0109] In this embodiment, the first AP performing CSI collection periodically sends a sounding process to the OBSS terminal (such as a second terminal) according to the signal table provided by other BSS networks. Since both the source and destination addresses are masqueraded, the first AP is able to collect the CSI of the corresponding terminal.
[0110] Of course, after obtaining the second CSI, the second CSI can be recorded in the signal table corresponding to the second terminal stored in the first AP, so that when it is necessary to obtain the CSI of the second terminal, it can be directly searched from the signal table according to the MAC address and BSS color obtained by the first AP.
[0111] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0112] Example 2:
[0113] Corresponding to the data packet sending method provided in the above embodiments, Figure 4 This diagram illustrates a structural block diagram of a data packet sending apparatus according to an embodiment of this application. For ease of explanation, only the parts related to the embodiment of this application are shown.
[0114] Reference Figure 4 The data packet sending device 4 is applied to the first AP and includes: a signal strength determination module 41, an interference reduction strategy selection module 42, and a data packet sending module 43. Wherein:
[0115] The signal strength determination module 41 is used to determine the signal strength from the first terminal to the first AP, wherein both the first AP and the first terminal belong to the first basic service set (BSS) network.
[0116] The stronger the signal strength from the first terminal to the first AP, the closer the first AP is to the first terminal; conversely, the weaker the signal strength, the farther the first AP is from the first terminal.
[0117] The interference reduction strategy selection module 42 is used to select a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP. Compared with before the first AP responded to the interference reduction strategy, after the first AP responded to the interference reduction strategy, the interference to the wireless signal of the second terminal when sending data packets is lower. The BSS network to which the second terminal belongs is the second BSS network. The second BSS network and the first BSS network belong to the same Mesh network.
[0118] The data packet sending module 43 is used to send data packets to the first terminal by means of spatial multiplexing technology according to the selected interference reduction strategy.
[0119] In this embodiment, when the signal strength from the first terminal to the first AP is strong, appropriately reducing the transmission power of the first AP for spatial multiplexing will not affect the communication quality between the first AP and the first terminal. Furthermore, the lower the transmission power of the first AP, the less interference it causes to other terminals when sending data packets. Therefore, selecting a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP can maximize spatial multiplexing gain while strictly limiting interference. Simultaneously, since the interference to the second terminal's wireless signal is lower after the first AP responds to the interference reduction strategy compared to before, selecting a more accurate interference reduction strategy for data packet transmission reduces interference to the second terminal's wireless signal, thereby reducing the second terminal's packet loss rate. Moreover, since the first BSS network to which the first AP belongs and the second BSS network to which the second terminal belongs belong to the same mesh network, reducing the second terminal's packet loss rate is equivalent to reducing the mesh network's packet loss rate.
[0120] In some embodiments, the interference reduction strategy selection module 42 includes:
[0121] The first interference reduction strategy selection unit is used to select an interference reduction strategy that reduces the transmit power of the first AP if the signal strength from the first terminal to the first AP is greater than a preset first signal strength threshold.
[0122] In some embodiments, the data packet sending device 4 provided in this application further includes:
[0123] The signal table receiving module is used to receive the signal table sent by the second AP. The signal table includes the MAC address of the second terminal, the BSS color, and the second signal strength. The second signal strength is the signal strength from the second terminal to the second AP, and the second AP belongs to the second BSS network.
[0124] The first signal strength determination module is used to determine the first signal strength based on the MAC address and the BSS color, wherein the first signal strength is the signal strength from the second terminal to the first AP.
[0125] The rate determination module is used to determine the rate of data packets sent by the second AP to the second terminal.
[0126] The power reduction calculation module is used to determine the power reduction required for the first AP when transmitting data packets using spatial multiplexing technology, based on the first signal strength, the second signal strength, and the rate.
[0127] The strategy generation module is used to generate a strategy for reducing the transmit power of the first AP based on the power that needs to be reduced.
[0128] In some embodiments, the first signal strength determination module includes:
[0129] The request to send control frame acquisition unit is used to acquire the request to send control frame (RTS) of the second AP, parse the RTS frame, and obtain the MAC address of the receiving device included in the RTS frame.
[0130] The signal strength acquisition unit for the permission control frame is used to acquire the signal strength of the permission control frame (CTS) corresponding to the aforementioned RTS frame.
[0131] The BSS color parsing unit is used to acquire the data packets sent to the second terminal after the RTS frame of the second AP, and to parse the BSS color from the acquired data packets.
[0132] The first signal strength acquisition unit is used to take the signal strength of the CTS frame corresponding to the RTS frame as the first signal strength corresponding to the MAC address and the BSS color.
[0133] In some embodiments, the data packet sending device 4 provided in this application further includes:
[0134] Obtain the Channel State Information (CSI) of the second terminal mentioned above.
[0135] The channel state information acquisition module of the first AP is used to determine the channel state information (CSI) of the downlink channel from the first AP to the first terminal.
[0136] The terminal's channel state information acquisition module is used to acquire the CSI from the first AP to the aforementioned second terminal, thereby obtaining the second CSI.
[0137] Correspondingly, the aforementioned interference reduction strategy selection module 42 includes:
[0138] The second interference reduction strategy selection unit is used to select an adaptive beamforming strategy if the signal strength from the first terminal to the first AP is less than or equal to a preset first signal strength threshold and greater than a preset second signal strength threshold. The adaptive beamforming strategy is used to modulate the data packets to be sent by the first AP according to the first CSI and the second CSI.
[0139] In some embodiments, the interference reduction strategy selection module 42 includes:
[0140] The third interference reduction strategy selection unit is used to select an adaptive orthogonal frequency division multiple access (OFDMA) resource unit (RU) allocation strategy if the signal strength from the first terminal to the first AP is less than or equal to the second signal strength threshold. The adaptive OFDMA RU allocation strategy is used to locate the target RU and, when the target RU is located, to transmit a narrowband OFDMA signal on the target RU. The ratio obtained by dividing the average attenuation amplitude of the subcarriers of the second CSI within the target RU by the average attenuation amplitude of each subcarrier of the second terminal's CSI, in dB, is greater than the power reduction required by the first AP when transmitting data packets using spatial multiplexing technology (the required power reduction is expressed as a power reduction ratio in dB).
[0141] In some embodiments, the channel state information acquisition module of the terminal includes:
[0142] The Empty Data Packet Announcement (NDPA) sending unit is used to send an Empty Data Packet Announcement (NDPA) frame to the second terminal. The source address of the NDPA frame is the MAC address of the second AP, and the destination address of the NDPA frame is the MAC address of the second terminal. The second AP belongs to the second BSS network.
[0143] The empty data packet sending unit is used to send an empty data packet NDP frame to the second terminal. The BSS color of the NDP frame is the same as the BSS color of the second AP.
[0144] The compressed beamforming feedback receiving unit is used to receive the compressed beamforming feedback (CBF) sent by the second terminal based on the NDPA frame and NDP frame, and to obtain the CSI from the first AP to the second terminal from the CBF.
[0145] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0146] Example 3:
[0147] Figure 5 This is a schematic diagram of the structure of a communication device provided in one embodiment of this application. Figure 5 As shown, the communication device 5 in this embodiment includes: at least one processor 50 ( Figure 5 The diagram shows only one processor, memory 51, and computer program 52 stored in the memory 51 and executable on at least one processor 50. When the processor 50 executes the computer program 52, it implements the steps in any of the above method embodiments.
[0148] The aforementioned communication device 5 can be a router, desktop computer, laptop, handheld computer, cloud server, or other computing device. This communication device may include, but is not limited to, processor 50 and memory 51. Those skilled in the art will understand that... Figure 5 This is merely an example of communication device 5 and does not constitute a limitation on communication device 5. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.
[0149] The processor 50 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0150] In some embodiments, the aforementioned memory 51 may be an internal storage unit of the communication device 5, such as a hard disk or memory of the communication device 5. In other embodiments, the aforementioned memory 51 may be an external storage device of the communication device 5, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the communication device 5. Furthermore, the aforementioned memory 51 may include both internal storage units and external storage devices of the communication device 5. The aforementioned memory 51 is used to store operating systems, applications, bootloaders, data, and other programs, such as the program code of the aforementioned computer programs. The aforementioned memory 51 may also be used to temporarily store data that has been output or will be output.
[0151] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the above device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments 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 as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0152] This application also provides a network device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor. When the processor executes the computer program, it implements the steps in any of the above method embodiments.
[0153] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in the various method embodiments described above.
[0154] This application provides a computer program product that, when run on a communication device, enables the communication device to implement the steps described in the above-described method embodiments.
[0155] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0156] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0157] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0158] In the embodiments provided in this application, it should be understood that the disclosed apparatus / network devices and methods can be implemented in other ways. For example, the apparatus / network device embodiments described above are merely illustrative. For instance, the division of modules or 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 devices or units may be electrical, mechanical, or other forms.
[0159] 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.
[0160] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for sending data packets, characterized in that, The data packet transmission method, applied to a first wireless access point (AP), includes: Determine the signal strength from the first terminal to the first AP, where both the first AP and the first terminal belong to the first basic service set (BSS) network. The corresponding interference reduction strategy is selected based on the signal strength from the first terminal to the first AP. Compared with before the first AP responds to the interference reduction strategy, after the first AP responds to the interference reduction strategy, the interference to the wireless signal of the second terminal when sending data packets is lower. The BSS network to which the second terminal belongs is the second BSS network. The second BSS network and the first BSS network belong to the same Mesh network, and the second BSS network and the first BSS network are different BSS networks. Based on the selected interference reduction strategy, data packets are sent to the first terminal using spatial multiplexing technology.
2. The data packet sending method as described in claim 1, characterized in that, The step of selecting a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP includes: If the signal strength from the first terminal to the first AP is greater than a preset first signal strength threshold, the selected interference reduction strategy is to reduce the transmit power of the first AP.
3. The data packet sending method as described in claim 2, characterized in that, Also includes: The system receives a signal table sent by the second AP, the signal table including the MAC address of the second terminal, the BSS color, and the second signal strength, wherein the second signal strength is the signal strength from the second terminal to the second AP, and the second AP belongs to the second BSS network; A first signal strength is determined based on the MAC address and the BSS color, wherein the first signal strength is the signal strength from the second terminal to the first AP; Determine the rate at which the second AP sends data packets to the second terminal; Based on the first signal strength, the second signal strength, and the rate, determine the power reduction required by the first AP when transmitting data packets using spatial multiplexing technology; A strategy for reducing the transmit power of the first AP is generated based on the required power reduction.
4. The data packet transmission method as described in claim 3, characterized in that, The step of determining the first signal strength based on the MAC address and the BSS color includes: After obtaining the request to send control frame (RTS) from the second AP, the RTS frame is parsed to obtain the MAC address of the receiving device included in the RTS frame; Obtain the signal strength of the transmit control frame (CTS) corresponding to the RTS frame; The data packets sent to the second terminal after the RTS frame of the second AP are acquired, and the BSS color is parsed from the acquired data packets. The signal strength of the CTS frame corresponding to the RTS frame is used as the first signal strength corresponding to the MAC address and the BSS color.
5. The data packet sending method as described in claim 3, characterized in that, Also includes: Determine the channel state information (CSI) of the downlink channel from the first AP to the first terminal to obtain the first CSI; Obtain the CSI from the first AP to the second terminal to obtain the second CSI; The step of selecting a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP includes: If the signal strength from the first terminal to the first AP is less than or equal to a preset first signal strength threshold and greater than a preset second signal strength threshold, then the selected interference reduction strategy is an adaptive beamforming strategy. The adaptive beamforming strategy is used to modulate the data packets that the first AP needs to send according to the first CSI and the second CSI.
6. The data packet transmission method as described in claim 5, characterized in that, The step of selecting a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP includes: If the signal strength from the first terminal to the first AP is less than or equal to the second signal strength threshold, the selected interference reduction strategy is an adaptive Orthogonal Frequency Division Multiple Access (OFDMA) Resource Unit (RU) allocation strategy. The adaptive OFDMA RU allocation strategy is used to locate the target RU, and when the target RU is located, a narrowband OFDMA signal is transmitted on the target RU. The ratio obtained by dividing the average attenuation amplitude of the subcarriers of the second CSI within the target RU by the average attenuation amplitude of all subcarriers of the second CSI is greater than the power reduction required by the first AP when transmitting data packets using spatial multiplexing technology.
7. The data packet transmission method as described in claim 5, characterized in that, The step of obtaining the CSI from the first AP to the second terminal includes: Send an empty data packet notification NDPA frame to the second terminal. The source address of the NDPA frame is the MAC address of the second AP, and the destination address of the NDPA frame is the MAC address of the second terminal. The second AP belongs to the second BSS network. Send an empty data packet NDP frame to the second terminal, wherein the BSS color of the NDP frame is the same as the BSS color of the second AP; Receive the Compressed Beamforming Feedback (CBF) sent by the second terminal based on the NDPA frame and the NDP frame, and obtain the CSI from the first AP to the second terminal from the CBF.
8. A data packet sending device, characterized in that, Applied to the first wireless access point (AP), including: The signal strength determination module is used to determine the signal strength from the first terminal to the first AP, where both the first AP and the first terminal belong to the first basic service set (BSS) network. The interference reduction strategy selection module is used to select a corresponding interference reduction strategy based on the signal strength from the first terminal to the first AP. Compared with before the first AP responds to the interference reduction strategy, after the first AP responds to the interference reduction strategy, the interference to the wireless signal of the second terminal when sending data packets is lower. The BSS network to which the second terminal belongs is the second BSS network. The second BSS network and the first BSS network belong to the same Mesh network, and the second BSS network and the first BSS network are different BSS networks. The data packet sending module is used to send data packets to the first terminal using spatial multiplexing technology according to the selected interference reduction strategy.
9. A communication device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.