Network distribution vector setting method and device, equipment and storage medium

CN118592084APending Publication Date: 2024-09-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280090221.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-03-30
Publication Date
2024-09-03

Smart Images

  • Figure CN118592084A
    Figure CN118592084A
Patent Text Reader

Abstract

The invention discloses a network allocation vector setting method and device, equipment and a storage medium, and relates to the technical field of communication. The method is executed by a first STA in an STA MLD, a target STA in which a TDLS link is established exists in the STA MLD, the target STA uses an MLD MAC address corresponding to the STA MLD on the TDLS link, and the method comprises the following steps: the first STA in the STA MLD receives a data packet; and when the destination address of the data packet is the MLD MAC address, and / or the destination address of the data packet is the link MAC address corresponding to the first STA, the first STA does not update the NAV of the first STA. According to the embodiment of the invention, the NAV setting mechanism of the STA in the STAMLD can be perfected.
Need to check novelty before this filing date? Find Prior Art

Description

Network allocation vector setting method, device, equipment and storage medium Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a method, apparatus, device, and storage medium for setting a network allocation vector. Background Art

[0002] A device that supports the Multiple Links function is called a Multiple Links Device (MLD). Multi-link devices include Station (STA) MLDs and Access Point (AP) MLDs. A STAMLD includes multiple STAs, and an APMLD includes multiple APs.

[0003] A Tunneled Direct-Link Setup (TDLS) link can be established between two STAs connected to the same AP in an APMLD. When exchanging data packets over a TDLS link, the Network Allocation Vector (NAV) may be incorrectly updated. Therefore, this solution is proposed to improve communication performance.

[0004] Summary of the Invention

[0005] The present invention provides a method, apparatus, device, and storage medium for setting a network allocation vector. The technical solution is as follows:

[0006] According to one aspect of an embodiment of the present application, a network allocation vector setting method is provided. The method is performed by a first STA in a station (STA) multiple link device (MLD), wherein the STA MLD contains a target STA with a tunneled direct link connection (TDLS) link established, and the target STA uses the MLD media access control (MAC) address corresponding to the STA MLD on the TDLS link. The method includes:

[0007] A first STA in the STA MLD receives a data packet;

[0008] When the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the first STA, the first STA does not update the NAV of the first STA;

[0009] The first STA is the target STA, or the first STA is another STA, and the other STA is an STA other than the target STA in the STA MLD.

[0010] According to one aspect of an embodiment of the present application, a network allocation vector setting device is provided, wherein a target STA with a TDLS link is present in a STA MLD to which the device belongs, and the target STA uses an MLD MAC address corresponding to the STA MLD on the TDLS link. The device includes: a receiving module and a processing module;

[0011] The receiving module is used to receive data packets;

[0012] The processing module is configured to not update the NAV of the device when the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the device;

[0013] The device is the target STA, or the device is another STA, and the other STA is an STA other than the target STA in the STA MLD.

[0014] According to one aspect of an embodiment of the present application, a first STA is provided. A STA MLD to which the first STA belongs contains a target STA with a TDLS link established. The target STA uses an MLD MAC address corresponding to the STA MLD on the TDLS link. The first STA includes a transceiver and a processor.

[0015] The transceiver is used to receive data packets;

[0016] The processor is configured to not update the NAV of the first STA when the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the first STA;

[0017] The first STA is the target STA, or the first STA is another STA, and the other STA is an STA other than the target STA in the STA MLD.

[0018] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is used for execution by a processor to enable a first STA to implement the above-mentioned network allocation vector setting method.

[0019] According to one aspect of an embodiment of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip is running, it is used to enable a first STA loaded with the chip to implement the above-mentioned network allocation vector setting method.

[0020] According to one aspect of an embodiment of the present application, a computer program product is provided, which includes computer instructions, the computer instructions are stored in a computer-readable storage medium, and a processor reads and executes the computer instructions from the computer-readable storage medium to enable the first STA to implement the above-mentioned network allocation vector setting method.

[0021] According to one aspect of an embodiment of the present application, a computer program is provided, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to enable the first STA to implement the above-mentioned network allocation vector setting method.

[0022] The technical solutions provided in the embodiments of the present application can bring the following beneficial effects:

[0023] If the target STA in the STA MLD establishes a TDLS link and uses the MLD MAC address corresponding to the STA MLD on the TDLS link, any STA in the STA MLD is recorded as the first STA. After the first STA receives a data packet, if the destination address of the data packet is the MLD MAC address of the STA MLD corresponding to the STA or the link MAC address corresponding to the STA, the first STA can correctly process the destination address of the data packet and does not update its own NAV, thus avoiding the situation of incorrectly updating its own NAV. This improves the STA NAV setting mechanism in the STA MLD. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0025] FIG1 is a schematic diagram of a communication system provided by an embodiment of the present application;

[0026] FIG2 is a schematic diagram of a MAC address of a multi-link device provided by an embodiment of the present application;

[0027] FIG3 is a schematic diagram of a link between devices provided by an embodiment of the present application;

[0028] FIG4 is a schematic diagram of data packet interaction on a link provided by one embodiment of the present application;

[0029] FIG5 is a schematic diagram of data packet interaction on a link provided by one embodiment of the present application;

[0030] FIG6 is a schematic diagram of a NAV mechanism provided by an embodiment of the present application;

[0031] FIG7 is a flowchart of a method for setting a network allocation vector according to an embodiment of the present application;

[0032] FIG8 is a flowchart of a method for setting a network allocation vector according to an embodiment of the present application;

[0033] FIG9 is a flowchart of a method for setting a network allocation vector according to an embodiment of the present application;

[0034] FIG10 is a schematic diagram of data packet interaction on a link provided by one embodiment of the present application;

[0035] FIG11 is a flowchart of a method for setting a network allocation vector according to an embodiment of the present application;

[0036] FIG12 is a schematic diagram of a link between devices provided by an embodiment of the present application;

[0037] FIG13 is a schematic diagram of data packet interaction on a link provided by one embodiment of the present application;

[0038] FIG14 is a flowchart of a method for setting a network allocation vector according to an embodiment of the present application;

[0039] FIG15 is a flowchart of a method for setting a network allocation vector according to an embodiment of the present application;

[0040] FIG16 is a schematic diagram of data packet interaction on a link provided by one embodiment of the present application;

[0041] FIG17 is a flowchart of a method for setting a network allocation vector according to an embodiment of the present application;

[0042] FIG18 is a block diagram of a network allocation vector setting device provided by one embodiment of the present application;

[0043] FIG19 is a schematic diagram of the structure of a STA provided by an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0045] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. A person skilled in the art will appreciate that, with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0046] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as Wireless Local Area Networks (WLAN), Wireless Fidelity (WiFi), or other communication systems.

[0047] For example, a communication system 100 used in an embodiment of the present application is shown in FIG1 . The communication system 100 may include an AP 110 and a STA 120 that accesses a network through the AP 110 .

[0048] In some scenarios, an AP can be referred to as an AP STA, meaning that in a sense, an AP is also a type of STA. In some scenarios, a STA can be referred to as a non-AP STA.

[0049] In some embodiments, STAs may include AP STAs and non-AP STAs.

[0050] The communication in the communication system 100 may be communication between an AP and a STA, communication between STAs, or communication between a STA and another (peer STA), where a peer STA may refer to a device that communicates with the STA peer, for example, a peer STA may be an AP or a non-AP STA.

[0051] An AP acts as a bridge between wired and wireless networks. Its primary function is to connect wireless network clients together and then connect the wireless network to the Ethernet. An AP can be a terminal device with a WiFi chip (such as a mobile phone) or a network device (such as a router).

[0052] It should be understood that the role of STA in the communication system is not absolute. For example, in some scenarios, when a mobile phone is connected to a router, the mobile phone is a STA. When the mobile phone serves as a hotspot for other mobile phones, the mobile phone acts as an AP.

[0053] APs and STAs can be devices used in the Internet of Vehicles, IoT nodes and sensors in the Internet of Things (IoT), smart cameras, smart remote controls, smart water and electricity meters in smart homes, and sensors in smart cities.

[0054] In some embodiments, the STA may support the 802.11be standard. The STA may also support various current and future 802.11 family WLAN standards, such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a.

[0055] In some embodiments, the AP may be a device supporting the 802.11be standard. The AP may also be a device supporting various current and future 802.11 family WLAN standards, such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a.

[0056] In some embodiments, AP 110 and / or STA 120 can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; can also be deployed on the water surface (such as a ship); can also be deployed in the air (for example, on an airplane, balloon, and satellite, etc.).

[0057] In the embodiment of the present application, STA 120 may be a mobile phone supporting WLAN / WiFi technology, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) device, an augmented reality (AR) device, a wireless device in industrial control, a set-top box, a wireless device in self-driving, an in-vehicle communication device, a wireless device in remote medical care, a wireless device in a smart grid, a wireless device in transportation safety, a wireless device in a smart city or a wireless device in a smart home, an in-vehicle communication device, a wireless communication chip / application specific integrated circuit (ASIC) / system on chip (SoC), etc.

[0058] As an example and not a limitation, in the embodiment of the present application, STA 120 may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for everyday wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0059] The frequency bands supported by WLAN technology may include but are not limited to: low frequency bands (2.4 GHz, 5 GHz, 6 GHz) and high frequency bands (60 GHz).

[0060] FIG1 exemplarily shows an AP and two STAs. In some embodiments, the communication system 100 may include multiple APs and other numbers of STAs, which is not limited in the embodiments of the present application.

[0061] It should be understood that in the embodiments of the present application, a device having communication functionality in a network / system may be referred to as a communication device. Taking the communication system 100 shown in FIG1 as an example, the communication device may include an AP 110 and a STA 120 having communication functionality. AP 110 and STA 120 may be the specific devices described above and will not be described in detail here. The communication device may also include other devices in the communication system 100, such as a network controller, a gateway, or other network entities, which is not limited in the embodiments of the present application.

[0062] It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and / or" is simply a description of an association between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " generally indicates that the related objects are in an "or" relationship.

[0063] It should be understood that the "indication" mentioned in the embodiments of this application can be a direct indication, an indirect indication, or an indication of an association. For example, "A indicates B" can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association between A and B.

[0064] The terms used in the embodiments of this application are intended only to explain the specific embodiments of this application and are not intended to limit this application. The terms "first," "second," "third," and "fourth," etc. in the specification and claims of this application and the accompanying drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions.

[0065] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and being indicated, configuration and being configured, etc.

[0066] In the embodiments of the present application, "pre-defined" or "pre-configured" may be implemented by pre-storing corresponding codes, tables, or other methods that can be used to indicate relevant information in a device (e.g., including STAs and network devices). The present application does not limit the specific implementation method. For example, pre-defined may refer to what is defined in the protocol.

[0067] In the embodiments of the present application, the “protocol” may refer to a standard protocol in the communication field, for example, it may include a WiFi protocol and related protocols used in future WiFi communication systems, and the present application does not limit this.

[0068] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The following related technologies can be combined with the technical solutions of the embodiments of the present application as optional solutions, and they all fall within the scope of protection of the embodiments of the present application. The embodiments of the present application include at least part of the following contents.

[0069] Wireless devices support multi-band communications, for example, communicating simultaneously on the 2.4 GHz, 5 GHz, 6 GHz, and 60 GHz bands, or communicating simultaneously on different channels within the same band (or different bands), improving the throughput and / or reliability of communications between devices. Such devices are typically referred to as multi-band devices, or multi-link devices (MLDs), and are sometimes also referred to as multi-link entities or multi-band entities. A multi-link device can be either an access point or a station. If the multi-link device is an access point, it includes one or more APs; if it is a station, it includes one or more non-AP STAs.

[0070] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technical solutions and existing problems of the present application are described below.

[0071] Before introducing the technical solution of this application, some technical knowledge involved in this application is first introduced and explained.

[0072] Relevant standard protocols define support for multiple links. The standard defines the two communicating ends as STA MLD and AP MLD. STA MLD and AP MLD that have established multiple links can leverage the advantages of multiple links to transmit and receive data across multiple links, achieving high throughput and low latency.

[0073] In traditional single-link devices, each single-link device has a MAC address that can be used to identify the device. In multi-link devices defined in relevant standards, because a multi-link device has multiple links, each link has a separate MAC address. Furthermore, a multi-link device also has a single multi-link device MAC address (MLD MAC address).

[0074] Figure 2 shows the reference model of a multi-link device. As shown in Figure 2, there are two links between two multi-link devices: Link 1 and Link 2. Each multi-link device has a separate Link MAC address (also called a Wireless Medium (WM) MAC address) on each link in the Lower MAC layer, and a single MLD MAC address in the Upper MAC layer.

[0075] In the relevant standard protocol, a TDLS link can be established between two STAs connected to any AP in the AP MLD. On this TDLS link, the two STAs can directly transmit data to each other without going through the AP.

[0076] As shown in Figure 3, a STA MLD consists of two STAs: STA1 and STA2, and an AP MLD consists of two APs: AP1 and AP2, operating on Link 1 and Link 2, respectively. AP1 also connects to a traditional STA3. Furthermore, a TDLS link is established between STA1 and STA3. According to relevant standards and protocols, the Basic Service Set Identifier (BSSID) and Basic Service Set Color (BSS Color) carried in packets exchanged on the TDLS link between STA1 and STA3 are AP1's BSSID and BSS Color.

[0077] According to the current standard protocol, STA1 and AP1 use their respective link MAC addresses to exchange data on the link. On the TDLS link between STA1 and STA3, STA1 belongs to a STA MLD and uses its MLD MAC address to exchange data with STA3.

[0078] Taking the topology shown in Figure 3 as an example, STA1 has established a connection with AP1 on link 1 and a TDLS link with STA3. When STA1 and AP1 exchange packets on link 1, the corresponding packet addresses are filled in as shown in Figure 4. For example, the Receiver Address (RA) of the packet from AP1 to STA1 is filled in with STA1's link MAC address.

[0079] Correspondingly, when STA1 and STA3 exchange packets on the TDLS link, the corresponding packet addresses are filled in as shown in Figure 5. For example, in the packet from STA3 to STA1, the receiving address of this packet is filled in with MLD_S, which is STA1's MLD MAC address.

[0080] In current standard protocols, the NAV mechanism is the basic channel access mechanism. As shown in Figure 6, when a source device and a destination device exchange packets, another device, upon receiving a packet from the source or destination device, will detect the packet's MAC address and other fields, and if it discovers it's not destined for it, it will update its NAV based on the information in the packet. The updated NAV is greater than 0. When a device's NAV is not 0, it cannot directly access the channel for transmission. Furthermore, when it receives a Request to Send (RTS) frame, it cannot reply with a corresponding Clear to Send (CTS) frame.

[0081] For STA1 in the STA MLD as shown in Figure 3, there are two links, and these two links: link 1 and TDLS link can operate on the same channel. Therefore, packets from AP1 to STA1 and from STA3 to STA1 on these two links are both destined for STA1. However, the destination addresses of packets on different links are different: one is the MLD MAC address of the STA MLD, and the other is the link MAC address of STA1.

[0082] In this way, if STA1 regards the link MAC address of STA1 as its own unique MAC address, STA1 will also update its own NAV when receiving packets on the TDLS link, resulting in an error.

[0083] In order to solve the above problems, the embodiments of the present application provide the following technical solutions.

[0084] Please refer to Figure 7, which shows a flow chart of a method for setting a network allocation vector provided by an embodiment of the present application. This method can be applied to the communication system shown in Figure 1 and executed by a STA in the communication system. The method may include the following steps:

[0085] Step 702: The first STA in the STA MLD receives a data packet.

[0086] In the embodiment of the present application, a target STA with a TDLS link established exists in the STA MLD, and the target STA uses the MLDMAC address corresponding to the STA MLD on the TDLS link.

[0087] A TDLS link is a link established between two STAs connected to the same AP in the APMLD. In an embodiment of the present application, the STA MLD includes a target STA, and the target STA and a single-link STA are connected to the same AP in the APMLD. Therefore, the target STA and the single-link STA can establish a TDLS link.

[0088] Exemplarily, as shown in FIG3 , STA1 and STA3 are both connected to AP1 , and a TDLS link is established between STA1 and STA3 .

[0089] Step 704: When the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the first STA, the first STA does not update the NAV of the first STA.

[0090] In the embodiment of the present application, the first STA identifies the received data packet and does not update its own NAV if it identifies that the data packet is a data packet sent to itself.

[0091] The first STA determines whether the data packet is sent to itself by the destination address of the data packet, and regards both the MLD MAC address and the link MAC address as its own address. Therefore, when the destination address of the received data packet is the MLD MAC address or the link MAC address, the first STA can correctly identify that the received data packet is sent to itself, and thus does not update its own NAV.

[0092] In the embodiment of the present application, the first STA is any STA in the STA MLD. The first STA can be the target STA with which the TDLS link is established, or it can be another STA other than the target STA. The other STA is the STA other than the target STA in the STA MLD.

[0093] 3 , STA1 has established a TDLS link, STA1 is the target STA, and STA2 is another STA. The first STA includes: STA1 and STA2. Steps 702 and 704 can be performed by either STA1 or STA2.

[0094] That is, when a STA in the STA MLD receives a data packet, it does not update its NAV if any of the following conditions are met:

[0095] Condition a) The destination address of this data packet is the MLD MAC address of the STA MLD corresponding to this STA.

[0096] Condition b) The destination address of this data packet is the link MAC address corresponding to this STA.

[0097] For example, with reference to FIG4 , if the destination address A1 (RA) of the data packet received by STA1 from AP1 is STA1, ie, the link MAC address of STA1, STA1 will not update its NAV according to the information in the packet.

[0098] For example, with reference to FIG5 , if the destination address A1 (RA) of the data packet received by STA1 from STA3 is MLD_S, ie, the MLD MAC address of STA1, STA1 will not update its NAV according to the information of this packet.

[0099] In one embodiment of the present application, the MLD MAC address corresponding to the STA MLD and the link MAC address of the first STA are different addresses. In one embodiment of the present application, the MLD MAC address corresponding to the STA MLD and the link MAC address of the first STA are the same address.

[0100] To sum up, the technical solution provided by this embodiment is that the target STA in the STA MLD establishes a TDLS link, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link, then any STA in the STA MLD is recorded as the first STA. After the first STA receives a data packet, if the destination address of the data packet is the MLD MAC address of the STA MLD corresponding to this STA or the link MAC address corresponding to this STA, then the first STA can correctly process the destination address of the data packet without updating its own NAV, thereby avoiding the situation of incorrectly updating its own NAV, thereby improving the NAV setting mechanism of the STA in the STA MLD.

[0101] In one embodiment of the present application, the STA in the STA MLD regards the MLD MAC address as its own address.

[0102] Please refer to Figure 8, which shows a flow chart of a method for setting a network allocation vector according to one embodiment of the present application. This method can be applied to the communication system shown in Figure 1 and executed by a STA in the communication system. The method may include the following steps:

[0103] Step 802: The first STA in the STA MLD receives a data packet.

[0104] In the embodiment of the present application, a target STA with a TDLS link established exists in the STA MLD, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link.

[0105] Step 804: When the destination address of the data packet is an MLD MAC address, the first STA does not update the NAV of the first STA.

[0106] In this embodiment, the first STA determines whether the data packet is sent to itself based on the destination address of the data packet, and regards the MLD MAC address as its own address. Therefore, when the destination address of the received data packet is the MLD MAC address, the first STA can correctly identify that the received data packet is sent to itself through the TDLS link, and thus does not update its own NAV.

[0107] For example, with reference to FIG5 , if the destination address A1 (RA) of the data packet received by STA1 from STA3 is MLD_S, ie, the MLD MAC address of STA1, STA1 will not update its NAV according to the information of this packet.

[0108] To sum up, the technical solution provided by this embodiment is that the target STA in the STA MLD establishes a TDLS link, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link, then any STA in the STA MLD is recorded as the first STA. After the first STA receives a data packet, if the destination address of the data packet is the MLD MAC address of the STA MLD corresponding to this STA, the first STA can correctly process the destination address of the data packet without updating its own NAV, thereby avoiding the situation of incorrectly updating its own NAV, thereby improving the NAV setting mechanism of the STA in the STA MLD.

[0109] In one embodiment of the present application, the MLD MAC address is the same as the link MAC address corresponding to the first STA.

[0110] Please refer to Figure 9, which shows a flow chart of a method for setting a network allocation vector provided by one embodiment of the present application. This method can be applied to the communication system shown in Figure 1 and executed by a STA in the communication system. The method may include the following steps:

[0111] Step 902: The first STA in the STA MLD receives a data packet.

[0112] In the embodiment of the present application, a target STA with a TDLS link established exists in the STA MLD, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link.

[0113] Step 904: When the destination address of the data packet is the first MAC address, the first STA does not update the NAV of the first STA, and the first MAC address is equal to the MLD MAC address and the link MAC address of the first STA.

[0114] In this embodiment, the first STA determines whether the data packet is sent to itself based on the destination address of the data packet. When the MLD MAC address and the link MAC address are the same, the first STA regards the same address as its own address. Therefore, when the destination address of the received data packet is the above address, the first STA can correctly identify that the received data packet is sent to itself and does not update its own NAV.

[0115] For example, referring to Figure 10 , the MLD MAC address and the link MAC address are the same, both address X. If STA1 receives a data packet from STA3 with destination address A1 (RA) being address X, STA1 will not update its NAV based on the information in this packet. If STA1 receives a data packet from AP1 with destination address A1 (RA) being address X, STA1 will not update its NAV based on the information in this packet.

[0116] To sum up, the technical solution provided by this embodiment is that the target STA in the STA MLD establishes a TDLS link, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link, then any STA in the STA MLD is recorded as the first STA. After the first STA receives a data packet, if the MLD MAC address is the same as the link MAC address corresponding to the first STA, if the destination address of this data packet is the same address mentioned above, then the first STA can correctly process the destination address of the data packet without updating its own NAV, thereby avoiding the situation of incorrectly updating its own NAV, thereby improving the NAV setting mechanism of the STA in the STA MLD.

[0117] In one embodiment of the present application, the working channel of the TDLS link of the target STA is different from the working channels of the links where other STAs are located; wherein the other STAs are STAs other than the target STA in the STA MLD.

[0118] Please refer to Figure 11, which shows a flow chart of a method for setting a network allocation vector according to an embodiment of the present application. This method can be applied to the communication system shown in Figure 1 and executed by a STA in the communication system. The method may include the following steps:

[0119] Step 1102: When the target STA in the STA MLD negotiates with the peer device for the working channel of the TDLS link, it selects a working channel different from the working channels of the links where other STAs are located; where other STAs are STAs in the STA MLD except the target STA.

[0120] That is, when a STA in the STA MLD establishes a TDLS link, when the STA negotiates with the peer device of the TDLS link for the working channel of the TDLS link, the STA cannot select the working channel of the link where other STAs in the STA MLD are located.

[0121] Step 1104: The first STA in the STA MLD receives a data packet.

[0122] In the embodiment of the present application, a target STA with a TDLS link established exists in the STA MLD, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link.

[0123] Step 1106: When the destination address of the data packet is an MLD MAC address, the first STA does not update the NAV of the first STA.

[0124] In this embodiment, the first STA determines whether the data packet is sent to itself based on the destination address of the data packet, and regards the MLD MAC address as its own address. Therefore, when the destination address of the received data packet is the MLD MAC address, the first STA can correctly identify that the received data packet is sent to itself through the TDLS link, and thus does not update its own NAV.

[0125] It should be understood that by making the following settings: the working channel of the TDLS link of the target STA is different from the working channel of the link where other STAs are located, it is possible to avoid other STAs in the STA MLD other than the target STA also receiving data packets on the TDLS link, thereby avoiding that when other STAs receive the above-mentioned data packets, based on the judgment mechanism of whether to update the NAV as shown in step 1106, they mistakenly believe that their own data packets have been received based on the MLD MAC address, and then mistakenly do not update their own NAV.

[0126] For example, with reference to Figure 12, the target STA is STA1. When the TDLS link between STA1 and STA3 negotiates the working channel of this TDLS link to the working channel of link 2 where STA2 is located through channel negotiation, since the working channel of link 2 where STA2 is located is the same as the working channel of the TDLS link between STA1 and STA3 at this time, STA2 will also receive the data packet sent by STA3 to STA1.

[0127] For example, referring to Figure 13, the first STA is STA2. For STA2, the destination address of the data packet sent by STA3 to STA1 is the MLD MAC address of STA MLD. Based on the destination address, STA2 will mistakenly think that the data packet is its own data packet, causing STA2 to mistakenly not update its own NAV.

[0128] Therefore, by limiting the range of STA1's choice of the operating channel for its TDLS link when negotiating with STA3, the operating channel of the TDLS link between STA1 and STA3 will not be the same as the operating channel of link 2 where STA2 is located, thus avoiding the above situation.

[0129] To sum up, the technical solution provided in this embodiment sets the working channel of the TDLS link of the target STA to be different from the working channel of the link where other STAs are located during channel negotiation. This can prevent other STAs other than the target STA in the STA MLD from receiving data packets on the TDLS link, thereby preventing other STAs from mistakenly believing that the received data packets on the TDLS link are their own data packets, and mistakenly not updating their own NAVs.

[0130] In one embodiment of the present application, the working channel of the TDLS link of the target STA is different from the working channels of the links where other STAs are located; wherein the other STAs are STAs other than the target STA in the STA MLD.

[0131] Please refer to Figure 14, which shows a flowchart of a method for setting a network allocation vector provided by an embodiment of the present application. This method can be applied to the communication system shown in Figure 1 and executed by a STA in the communication system. The method may include the following steps:

[0132] Step 1402: When the target STA in the STA MLD negotiates with the peer device for the working channel of the TDLS link, it selects a working channel different from the working channels of the links where other STAs are located; where other STAs are STAs in the STA MLD except the target STA.

[0133] That is, when a STA in the STA MLD establishes a TDLS link, when the STA negotiates with the peer device of the TDLS link for the working channel of the TDLS link, the STA cannot select the working channel of the link where other STAs in the STA MLD are located.

[0134] Step 1404: The first STA in the STA MLD receives a data packet.

[0135] In the embodiment of the present application, a target STA with a TDLS link established exists in the STA MLD, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link.

[0136] Step 1406: When the destination address of the data packet is the link MAC address corresponding to the first STA, the first STA does not update the NAV of the first STA.

[0137] In this embodiment, the first STA determines whether the data packet is sent to itself by the destination address of the data packet, and regards the link MAC address as its own address. Therefore, when the destination address of the received data packet is the link MAC address, the first STA can correctly identify that the received data packet is a packet sent to itself by the link between the first STA and the AP, and thus does not update its own NAV.

[0138] It should be understood that by making the following settings: the working channel of the TDLS link of the target STA is different from the working channel of the link where other STAs are located, it is possible to avoid other STAs other than the target STA in the STA MLD from also receiving data packets on the TDLS link. When other STAs receive data packets, based on the judgment mechanism of whether to update NAV as shown in step 1406, they can think that their own data packets have been received based on the link MAC address, and thus do not update their own NAV.

[0139] For example, with reference to Figure 3 , the TDLS link between STA1 and STA3 uses channel negotiation to set the operating channel of this TDLS link to a different operating channel from the operating channel of link 2 on which STA2 is located. Because the operating channel of link 2 on which STA2 is located differs from the operating channel of the TDLS link between STA1 and STA3, STA2 will not receive data packets sent by STA3 to STA1. It will only receive data packets sent by AP2 to STA2, whose destination address is STA2's link MAC address. Therefore, STA2 will not update its NAV based on the information in these packets.

[0140] To sum up, the technical solution provided in this embodiment sets the working channel of the TDLS link of the target STA to be different from the working channel of the link where other STAs are located during channel negotiation, which can prevent other STAs other than the target STA in the STA MLD from receiving data packets on the TDLS link. After the first STA receives the data packet, if the destination address of the data packet is the link MAC address corresponding to the STA, the first STA can correctly process the destination address of the data packet without updating its own NAV, thereby improving the NAV setting mechanism of the STA in the STA MLD.

[0141] In one embodiment of the present application, the MLD MAC address is the same as the link MAC address corresponding to the first STA. In addition, the operating channel of the TDLS link of the target STA is different from the operating channels of the links where other STAs are located; wherein other STAs are STAs other than the target STA in the STA MLD.

[0142] Please refer to Figure 15, which shows a flowchart of a method for setting a network allocation vector provided by an embodiment of the present application. This method can be applied to the communication system shown in Figure 1 and executed by a STA in the communication system. The method may include the following steps:

[0143] Step 1502: When the target STA in the STA MLD negotiates with the peer device for the working channel of the TDLS link, it selects a working channel different from the working channels of the links where other STAs are located; where other STAs are STAs in the STA MLD except the target STA.

[0144] That is, when a STA in the STA MLD establishes a TDLS link, when the STA negotiates with the peer device of the TDLS link for the working channel of the TDLS link, the STA cannot select the working channel of the link where other STAs in the STA MLD are located.

[0145] Step 1504: The first STA in the STA MLD receives a data packet.

[0146] In the embodiment of the present application, a target STA with a TDLS link established exists in the STA MLD, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link.

[0147] Step 1506: When the destination address of the data packet is the first MAC address, the first STA does not update the NAV of the first STA, and the first MAC address is equal to the MLD MAC address and the link MAC address of the first STA.

[0148] In this embodiment, the first STA determines whether the data packet is sent to itself based on the destination address of the data packet. When the MLD MAC address and the link MAC address are the same, the first STA regards the same address as its own address. Therefore, when the destination address of the received data packet is the above address, the first STA can correctly identify that the received data packet is sent to itself and does not update its own NAV.

[0149] It should be understood that by making the following settings: the working channel of the TDLS link of the target STA is different from the working channel of the link where other STAs are located, it is possible to avoid other STAs other than the target STA in the STA MLD from also receiving data packets on the TDLS link, thereby avoiding that when other STAs receive the above-mentioned data packets, based on the judgment mechanism of whether to update NAV as shown in step 1506, they mistakenly believe that they have received their own data packets based on the first MAC address, and then mistakenly do not update their own NAV.

[0150] For example, with reference to Figure 16 , the MLD MAC address and STA2's link MAC address are the same, both being address X. When the TDLS link between STA1 and STA3 negotiates the operating channel of this TDLS link to the operating channel of link 2 where STA2 is located, STA2 will also receive the data packet sent by STA3 to STA1 because the operating channel of link 2 where STA2 is located is the same as the operating channel of the TDLS link between STA1 and STA3 at this time. For STA2, the destination address of the data packet sent by STA3 to STA1 is the MLD MAC address of the STA MLD, that is, address X. Based on this destination address, STA2 will mistakenly believe that the data packet is its own data packet, causing STA2 to mistakenly not update its NAV.

[0151] Therefore, by limiting the range of STA1's choice of the operating channel for its TDLS link when negotiating with STA3, the operating channel of the TDLS link between STA1 and STA3 will not be the same as the operating channel of link 2 where STA2 is located, thus avoiding the above situation.

[0152] To sum up, the technical solution provided in this embodiment sets the working channel of the TDLS link of the target STA to be different from the working channel of the link where other STAs are located during channel negotiation. This can prevent other STAs other than the target STA in the STA MLD from receiving data packets on the TDLS link, thereby preventing other STAs from mistakenly believing that the received data packets on the TDLS link are their own data packets, and mistakenly not updating their own NAVs.

[0153] In one embodiment of the present application, when the destination address of the data packet is an MLD MAC address, in addition to verifying the destination address of the data packet, the first STA also needs to verify the source address of the data packet to determine whether to update the NAV.

[0154] Please refer to Figure 17, which shows a flow chart of a method for setting a network allocation vector according to an embodiment of the present application. This method can be applied to the communication system shown in Figure 1 and executed by a STA in the communication system. The method may include the following steps:

[0155] Step 1702: The first STA in the STA MLD receives a data packet.

[0156] In the embodiment of the present application, a target STA with a TDLS link established exists in the STA MLD, and the target STA uses the MLD MAC address corresponding to the STA MLD on the TDLS link.

[0157] Step 1704: When the destination address of the data packet is an MLD MAC address, the source address of the data packet comes from a peer device with which the first STA has established a TDLS link, and / or when the destination address of the data packet is the link MAC address corresponding to the first STA, the first STA does not update the NAV of the first STA.

[0158] That is, when a STA in the STA MLD receives a data packet, it does not update its NAV if any of the following conditions are met:

[0159] Condition a) The destination address of the data packet is the MLD MAC address of the STA MLD corresponding to the STA, and the data packet comes from the peer device of the STA's TDLS link.

[0160] Condition b) The destination address of this data packet is the link MAC address corresponding to this STA.

[0161] It should be understood that by making the following settings: when the destination address of the data packet is the MLD MAC address, in addition to verifying the destination address of the data packet, the first STA also needs to verify the source address of the data packet to determine whether to update the NAV. This can avoid the situation where other STAs other than the target STA in the STA MLD also receive data packets on the TDLS link. Based on the judgment mechanism of whether to update the NAV as shown in step 1704, they mistakenly believe that they have received their own data packets based on the MLD MAC address, and then mistakenly do not update their own NAV.

[0162] For example, with reference to Figure 12, the target STA is STA1. When the TDLS link between STA1 and STA3 negotiates the working channel of this TDLS link to the working channel of link 2 where STA2 is located through channel negotiation, since the working channel of link 2 where STA2 is located is the same as the working channel of the TDLS link between STA1 and STA3 at this time, STA2 will also receive the data packet sent by STA3 to STA1.

[0163] For example, referring to Figure 13, the first STA is STA1. For STA1, since the destination address of this data packet is the MLD MAC address of STA MLD, and the source address A2 (TA) of this data packet shows that this data packet comes from STA3, STA1 will not update its NAV based on the information of this packet.

[0164] For example, referring to Figure 13, the first STA is STA2. For STA2, although the destination address of this data packet is the MLD MAC address of STA MLD, the source address A2 (TA) of this packet shows that this data packet does not come from the peer device of STA2's TDLS link, so STA2 will still update its NAV based on the information of this packet.

[0165] Therefore, by further verifying the source address of the data packet, it is possible to avoid the situation where, when the working channel of the TDLS link between STA1 and STA3 is the same as the working channel of link 2 where STA2 is located, STA2 mistakenly believes that the data packet received from STA3 to STA1 is a data packet sent to itself, causing STA2 to erroneously not update its own NAV.

[0166] To summarize, the technical solution provided in this embodiment is that, when a STA in the STA MLD receives a data packet, if the destination address of the data packet is the MLD MAC address, in addition to verifying the destination address of the data packet, it is also necessary to verify the source address of the data packet to determine whether to update the NAV, so as to avoid mistakenly regarding the data packets of other links as its own data packets when using the same working channel with other links, and thus not updating its own NAV.

[0167] It is understandable that the above method embodiments can be implemented individually or in combination, and this application does not impose any restrictions on this.

[0168] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0169] Please refer to Figure 18, which shows a block diagram of a network allocation vector setting device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned method example, and the function can be implemented by hardware, or the corresponding software can be implemented by hardware. The device can be the first STA introduced above, or it can be set in the first STA. There is a target STA with a TDLS link established in the STA MLD to which the device belongs, and the target STA uses the MLD MAC address corresponding to the device on the TDLS link. As shown in Figure 18, the device 1800 may include: a receiving module 1810 and a processing module 1820;

[0170] The receiving module 1810 is used to receive data packets;

[0171] The processing module 1820 is configured to not update the NAV of the device if the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the device;

[0172] The device is the target STA, or the device is another STA, and the other STA is an STA other than the target STA in the STA MLD.

[0173] In one embodiment of the present application, the working channel of the TDLS link of the target STA is different from the working channel of the link where the other STAs are located.

[0174] In one embodiment of the present application, the processing module 1820 is used to not update the NAV of the device when the destination address of the data packet is the MLD MAC address and the source address of the data packet comes from the opposite device with which the TDLS link is established, and / or when the destination address of the data packet is the link MAC address corresponding to the device.

[0175] It should be noted that the device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example to implement its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0176] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0177] 19 , which shows a schematic diagram of the structure of a STA provided in one embodiment of the present application, which may be the first STA in the above embodiment. The STA 1900 may include: a processor 1901 , a transceiver 1902 , and a memory 1903 .

[0178] The processor 1901 includes one or more processing cores. The processor 1901 executes various functional applications by running software programs and modules.

[0179] The transceiver 1902 can be used to receive and send information, and the transceiver 1902 can be a communication chip.

[0180] The memory 1903 may be used to store a computer program, and the processor 1901 may be used to execute the computer program to implement the various steps performed by the first STA in the above method embodiment.

[0181] In addition, the memory 1903 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, and the volatile or non-volatile storage device includes but is not limited to: random-access memory (RAM) and read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technology, compact disc read-only memory (CD-ROM), high-density digital video disc (DVD) or other optical storage, tape cassettes, magnetic tape, disk storage or other magnetic storage devices.

[0182] An embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is configured to be executed by a processor so that the first STA implements the above-mentioned network allocation vector setting method.

[0183] Optionally, the computer-readable storage medium may include: Read-Only Memory (ROM), Random-Access Memory (RAM), Solid State Drives (SSD), or an optical disk, etc. Among them, the random access memory may include Resistance Random Access Memory (ReRAM) and Dynamic Random Access Memory (DRAM).

[0184] An embodiment of the present application further provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip is running, it is used to enable a first STA equipped with the chip to implement the above-mentioned network allocation vector setting method.

[0185] An embodiment of the present application also provides a computer program product or computer program, which includes computer instructions, which are stored in a computer-readable storage medium. The processor reads and executes the computer instructions from the computer-readable storage medium to enable the first STA to implement the above-mentioned network allocation vector setting method.

[0186] The processor in the embodiment of the present application includes: an application specific integrated circuit (ASIC).

[0187] In addition, the step numbers described in this document only illustrate a possible execution order between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order of the diagram. The embodiments of the present application are not limited to this.

[0188] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0189] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for setting a network allocation vector NAV, characterized in that: The method is performed by a first STA in a station multi-link device STA MLD, wherein the STA MLD contains a target STA with a tunnel direct link connected to a TDLS link, and the target STA uses an MLD media access control MAC address corresponding to the STA MLD on the TDLS link. The method includes: A first STA in the STA MLD receives a data packet; When the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the first STA, the first STA does not update the NAV of the first STA; The first STA is the target STA, or the first STA is another STA, and the other STA is an STA other than the target STA in the STA MLD.

2. The method according to claim 1, characterized in that The working channel of the TDLS link of the target STA is different from the working channels of the links of the other STAs.

3. The method according to claim 1, characterized in that When the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the first STA, the first STA does not update the NAV of the first STA, including: When the destination address of the data packet is the MLD MAC address and the source address of the data packet comes from the peer device with which the TDLS link is established, and / or when the destination address of the data packet is the link MAC address corresponding to the first STA, the first STA does not update the NAV of the first STA.

4. A network allocation vector NAV setting device, characterized in that: A target STA having a tunnel direct link connected to a TDLS link is established in a site multi-link device STA MLD to which the apparatus belongs, and the target STA uses an MLD media access control MAC address corresponding to the STA MLD on the TDLS link. The apparatus includes: a receiving module and a processing module; The receiving module is used to receive data packets; The processing module is configured to not update the NAV of the device when the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the device; The device is the target STA, or the device is another STA, and the other STA is an STA other than the target STA in the STA MLD.

5. The device according to claim 4, characterized in that The working channel of the TDLS link of the target STA is different from the working channels of the links of the other STAs.

6. The device according to claim 4, characterized in that The processing module is configured to not update the NAV of the device when the destination address of the data packet is the MLD MAC address and the source address of the data packet comes from a peer device with which the TDLS link is established, and / or when the destination address of the data packet is the link MAC address corresponding to the device.

7. A first station STA, characterized in that: A target STA having a tunnel direct link connected to a TDLS link is established in a site multi-link device STA MLD to which the first STA belongs. The target STA uses an MLD media access control MAC address corresponding to the STA MLD on the TDLS link. The first STA includes a transceiver and a processor. The transceiver is used to receive data packets; The processor is configured to not update the NAV of the first STA when the destination address of the data packet is the MLD MAC address and / or the destination address of the data packet is the link MAC address corresponding to the first STA; The first STA is the target STA, or the first STA is another STA, and the other STA is an STA other than the target STA in the STA MLD.

8. A computer-readable storage medium, characterized in that The storage medium stores a computer program, which is configured to be executed by a processor so that the first station STA implements the network allocation vector setting method according to any one of claims 1 to 3.

9. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, and when the chip is running, is used to enable a first station STA equipped with the chip to implement the network allocation vector setting method according to any one of claims 1 to 3.

10. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor reads and executes the computer instructions from the computer-readable storage medium, so that the first station STA implements the network allocation vector setting method according to any one of claims 1 to 3.

11. A computer program, characterized in that The computer program includes computer instructions, which are stored in a computer-readable storage medium. The processor reads and executes the computer instructions from the computer-readable storage medium, so that the first station STA implements the network allocation vector setting method according to any one of claims 1 to 3.