Communication method and apparatus, and computer-readable storage medium

By dynamically managing restricted TWT service periods and TXOPs based on frame conditions, the method optimizes resource use and maintains low-latency service continuity in wireless communication systems.

AU2025201318B2Pending Publication Date: 2026-11-19HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
AU2025201318
Authority / Receiving Office
AU · AU
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-12-31
Filing Date
2025-02-24
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

In wireless communication systems, restricted Target Wake Time (TWT) service periods are inefficiently utilized, leading to resource waste and latency issues due to the fixed duration exceeding actual low-latency service needs and mandatory early termination of ongoing transmissions.

Method used

A method and apparatus for a Station (STA) to dynamically manage restricted TWT service periods by ending them early if certain conditions are met, such as receiving specific frames or detecting non-low-latency traffic, and to skip early termination of transmit opportunities (TXOP) under specific conditions to maintain low-latency service continuity.

Benefits of technology

This approach prevents resource waste and ensures uninterrupted low-latency service by optimizing TWT utilization and reducing latency impacts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000047_0000
    Figure 00000047_0000
  • Figure 00000048_0000
    Figure 00000048_0000
  • Figure 00000048_0001
    Figure 00000048_0001
Patent Text Reader

Abstract

Embodiments of this application relate to the communication field, and provide a communication method and apparatus, and a computer-readable storage medium. The method in embodiments of this application includes: If a first condition is met, a station STA determines that a restricted 5 service period ends, where the first condition includes any one or more of the following: receiving a first frame, where the first frame indicates that the restricted service period ends; receiving no second frame in a preset time period; and receiving a frame for non-low-latency service communication in a local cell, where the local cell is a basic service set BSS to which the STA belongs. According to embodiments of this application, communication resources can be saved 10 during Communication in an R-TWT SP. 20 25 20 13 18 24 F eb 2 02 5 A B S T R A C T 2 4 F e b 2 0 2 5 2 0 2 5 2 0 1 3 1 8 1 0
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority from Australian Application No. 2021414155 filed on 29 December 2021, the contents of which are to be taken as incorporated herein by this reference. This application also claims priority to Chinese Patent Application No. 202011635867.6, filed with the China National Intellectual Property Administration on December 31, 2020 and entitled "COMMUNICATION METHOD AND APPARATUS, AND COMPUTER-READABLE STORAGE MEDIUM", which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] This application relates to the field of wireless communication technologies, and in particular, to a communication method and apparatus, and a computer-readable storage medium. BACKGROUND

[0003] A target wake time (target wake time, TWT) is an energy saving technology defined by Wi-Fi 6, and means that a station (station, STA) and an access point (access point, AP) may agree on a service time (service period, SP), and keep in an active state and perform communication in the service time, so that the station and the access point can keep sleep in a time other than the service time, to save energy. The TWT may be classified into an individual (individual) TWT and a broadcast (broadcast) TWT according to different methods for agreeing on the service time.

[0004] A restricted TWT SP (restricted TWT, R-TWT) is used to serve only a low-latency 20 service, and a non-low-latency service cannot be communicated in this period. When a length of the R-TWT SP exceeds a time length required for actual communication of the current low-latency service, an R-TWT SP after the current low-latency communication ends is wasted. As a result, communication resources are wasted.

[0005] A reference herein to a patent document or any other matter identified as prior art, is 25 not to be taken as an admission that the document or other matter was known or that the information it contains was part of the common general knowledge as at the priority date of any of the claims. SUMMARY

[0006] Embodiments of this application provide a communication method and apparatus, and 15 2025201318   29 Sep 2026 a computer-readable storage medium, which may save communication resources during Communication in an R-TWT SP.

[0007] According to an aspect of the invention there is provided a communication method, comprising: obtaining, by an access point (AP), a transmit opportunity (TXOP) before a restricted 5 service period arrives, wherein the restricted service period is a period of time, and wherein the period of time services a low-latency service; and based on determining that the TXOP is used for a transmission of a frame that carries a target wake time (TWT) element indicating the low-latency service, continuing, by the AP, the TXOP when the restricted service period arrives.

[0008] According to another aspect of the invention there is provided a communication 0 apparatus, wherein the apparatus is applied to an access point (AP), comprises: a processor, configured to obtain a transmit opportunity (TXOP) before a restricted service period arrives, wherein the restricted service period is a period of time, and wherein the period of time services a low-latency service; and based on determining that the TXOP is used for a transmission of a frame that carries a target wake time (TWT) element indicating the low-latency service, continuing the 15 TXOP when the restricted service period arrives.

[0009] According to a first example, an embodiment of this application provides a communication method. The method includes: If a first condition is met, a STA determines that a restricted service period ends, where the first condition includes any one or more of the following: receiving a first frame, where the first frame indicates that the restricted service period ends; 20 receiving no second frame in a preset time period; and receiving a frame for non-low-latency service communication in a local cell, where the local cell is a basic service set (basic service set, BSS) to which the STA belongs.

[0010] In the solution provided in this application, for the restricted service period, the STA may end the restricted service period in advance when the first condition is met. Because the STA 25 can perform only communication of a low-latency service in the restricted service period, when any one or more conditions in the first condition are met, the STA determines that the restricted service period ends, and ends the restricted service period in advance. In this way, waste of a remaining idle restricted service time after the low-latency service is completed can be avoided, thereby saving communication resources. 30

[0011] It may be understood that the restricted service period is a period of time, and the AP and the STA are only used to serve the low-latency service in this period of time. Optionally, the restricted service period may be referred to as an R-SP (restricted service period, R-SP), or may be referred to as a restricted TWT SP (restricted TWT SP). It may be understood that the restricted service period may alternatively have another name. This is not limited in this embodiment of this 35 application. 2025201318   29 Sep 2026

[0012] With reference to the first example, in a possible implementation, the first frame is an extremely high throughput (extremely high throughput, EHT) action frame, and an EHT action field in the EHT action frame indicates that the restricted service period ends.

[0013] In the solution provided in this application, the first frame may be the EHT action frame, or may be a CF-end frame, or may be another frame.

[0014] With reference to the first example, in a possible implementation, when the first condition includes: receiving no second frame in the preset time period, before that a STA determines that a restricted service period ends, the communication method further includes: The STA receives a third frame, where the third frame carries a TWT element; and the preset time period is determined by a nominal minimum TWT wake duration field and a wake duration unit field in the TWT element.

[0015] In the solution provided in this application, the preset time period may be obtained by the STA by receiving the third frame, or may be specified in a standard.

[0016] With reference to the first example, in a possible implementation, when the first 15 condition includes: receiving the frame for non-low-latency service communication in the local cell, before that a STA determines that a restricted service period ends, the communication method further includes: The STA receives a fourth frame, where the fourth frame carries a TWT element. The TWT element carries a threshold access class (access category, AC) of a non-low-latency service or a preset service identifier (traffic identifier, TID) of a non-low-latency service, and the 20 non-low-latency service is a service whose access class of the service is lower than or equal to the threshold access class of the non-low-latency service; or the non-low-latency service is a service whose service identifier is the preset service identifier of the non-low-latency service.

[0017] In the solution provided in this application, to meet the condition of receiving the frame for non-low-latency service communication in the local cell, the STA needs to obtain the threshold 25 access class of the non-low-latency service or the preset service identifier of the non-low-latency service. It may be determined whether the currently received service is the non-low-latency service, to determine whether the condition of receiving the frame for non-low-latency service communication in the local cell is met. If the condition is met, it may be determined that the restricted service period ends. 30

[0018] With reference to the first example, in a possible implementation, the threshold access class of the non-low-latency service or the preset service identifier of the non-low-latency service is determined by using a broadcast TWT recommendation field in the TWT element.

[0019] In the solution provided in this application, the threshold access class of the non-low-latency service or the preset service identifier of the non-low-latency service may be carried in the 35 TWT element. There is no need to set a new element dedicated to carrying the threshold access 2025201318   29 Sep 2026 class of the non-low-latency service or the preset service identifier of the non-low-latency service, to save communication resources.

[0020] With reference to the first example, in a possible implementation, the communication method further includes: The STA initiates new channel access after determining that the restricted 5 service period ends, or continues to perform channel access that is suspended before the restricted service period.

[0021] In the solution provided in this application, when determining that the restricted service period ends and ending the restricted service period in advance, the STA may continue to perform channel access, to minimize waste of an idle communication time. 0

[0022] According to a second example, an embodiment of this application provides a communication method, to ensure that ongoing transmission of the low-latency service is not interrupted during Communication in an R-TWT SP. The communication method includes: The STA obtains a transmit opportunity (transmit opportunity, TXOP) before a restricted service period arrives; and if a second condition is met, the STA skips ending the TXOP before the restricted 15 service period arrives, where the second condition includes any one or more of the following: the TXOP is used to transmit a data frame of a first service; a transmission time for transmitting a service in the TXOP is less than or equal to a first threshold; and the restricted service period is a time period used for device to device (device to device, D2D) transmission.

[0023] In the solution provided in this application, because the STA needs to end its TXOP 20 before the restricted service period arrives, if any one or more of exception conditions (the second condition) are met, the STA may not need to end its transmit opportunity before the restricted service period arrives. In this way, ongoing transmission of the low-latency service is not interrupted, thereby ensuring latency performance of the low-latency service of the STA.

[0024] The STA skips ending the TXOP before the restricted service period arrives, which may 25 be understood as that the STA does not end the TXOP before the restricted service period arrives. It may also be understood that the STA continues the current service transmission when the restricted service period arrives.

[0025] With reference to the second example, in a possible implementation, when the second condition includes that the transmission time for transmitting the service in the TXOP is less than 30 or equal to the first threshold, before that the STA skips ending the TXOP before the restricted service period arrives, the communication method further includes: The STA receives a fifth frame, where the fifth frame carries a TWT element, and the TWT element carries the first threshold.

[0026] In the solution provided in this application, before the condition that the transmission time for transmitting the service in the TXOP is less than or equal to the first threshold is met, the 35 STA needs to obtain information about the first threshold. The information about the first threshold may be obtained by the STA by receiving the TWT element carried in the fifth frame, or may be specified in a standard.

[0027] With reference to the second example, in a possible implementation, the first device is the low-latency service. When the second condition includes that the TXOP is used to transmit the 5 data frame of the first service, before that the STA skips ending the TXOP before the restricted service period arrives, the communication method further includes: The STA receives a sixth frame, where the sixth frame carries a TWT element. The TWT element carries a threshold access class 2025201318   29 Sep 2026 of a low-latency service or a preset service identifier of a low-latency service, and the low-latency service is a service whose access class of the service is higher than or equal to the threshold access class of the low-latency service; or the low-latency service is a service whose service identifier is the preset service identifier of the low-latency service.

[0028] In the solution provided in this application, the first service may be the low-latency service. To meet the condition that the TXOP is used to transmit the data frame of the first service, the STA needs to obtain the threshold access class of the low-latency service or the preset service 15 identifier of the low-latency service. It may be determined whether the currently received service is the low-latency service, to determine whether the condition that the TXOP is used to transmit the data frame of the first service is met. When the condition is met, the STA may not need to end its transmit opportunity before the restricted service period arrives. In this way, ongoing transmission of the low-latency service is not interrupted, thereby ensuring latency performance 20   of the low-latency service of the STA.

[0029] With reference to the second example, in a possible implementation, the threshold access class of the low-latency service or the preset service identifier of the low-latency service is determined by using a broadcast TWT recommendation field in the TWT element.

[0030] In the solution provided in this application, the threshold access class of the low-latency 25 service or the preset service identifier of the low-latency service may be carried in the TWT element. There is no need to set a new element dedicated to carrying the threshold access class of the low-latency service or the preset service identifier of the low-latency service, to save communication resources.

[0031] With reference to the second example, in a possible implementation, the first service is 30 an exception service. When the second condition includes that the TXOP is used to transmit the data frame of the first service, before that the STA skips ending the TXOP before the restricted service period arrives, the communication method further includes: The STA receives a seventh frame, where the seventh frame carries a TWT element. The TWT element carries a threshold access class of the exception service or a preset service identifier of the exception service, and the 35 exception service is a service whose access class of the service is higher than or equal to the 2025201318   29 Sep 2026 threshold access class of the exception service; or the exception service is a service whose service identifier is the preset service identifier of the exception service.

[0032] In the solution provided in this application, the first service may be the exception service. To meet the condition that the TXOP is used to transmit the data frame of the first service, 5 the STA needs to obtain the threshold access class of the exception service or the preset service identifier of the exception service. It may be determined whether the currently received service is the exception service, to determine whether the condition that the TXOP is used to transmit the data frame of the first service is met. When the condition is met, the STA may not need to end its transmit opportunity before the restricted service period arrives. In this way, ongoing transmission 0 of the service is not interrupted, thereby ensuring latency performance of the service of the STA.

[0033] With reference to the second example, in a possible implementation, the threshold access class of the exception service or the preset service identifier of the exception service is determined by an exception access class field in the TWT element.

[0034] In the solution provided in this application, the threshold access class of the exception 15 service or the preset service identifier of the exception service may be carried in the TWT element. There is no need to set a new element dedicated to carrying the threshold access class of the exception service or the preset service identifier of the exception service, to save communication resources.

[0035] With reference to the second example, in a possible implementation, the 20 communication method further includes: When the restricted service period arrives, when the transmission time for transmitting the service in the TXOP is greater than a second threshold, the STA ends the TXOP.

[0036] In the solution provided in this application, when the restricted service period arrives, in a possible implementation, the STA may continue transmission only for a period of time, but 25 cannot exceed the second threshold. The second threshold may be a value specified in a standard, or may be sent by the AP to the STA, for example, carried in the TWT element for sending. In this way, impact on the restricted service period can be reduced.

[0037] It may be understood that the second threshold may be equal to the first threshold, that is, the STA ends the TXOP only after transmission of the current service of the TXOP is completed. 30

[0038] With reference to the second example, in a possible implementation, the communication method further includes: When the restricted service period arrives, the STA continues to transmit at most one physical layer protocol data unit (presentation protocol data unit, PPDU) in the TXOP.

[0039] In the solution provided in this application, when the restricted service period arrives, 35 in another possible implementation, when continuing transmission in the TXOP, the STA can 2025201318   29 Sep 2026 transmit only one PPDU. In this way, impact on the restricted service period can be reduced.

[0040] With reference to the second example, in a possible implementation, the communication method further includes: The STA receives an eighth frame, where the eighth frame indicates to extend the restricted service period.

[0041] In the solution provided in this application, when the restricted service period arrives, in still another possible implementation, the STA may receive a frame indicating to extend the restricted service period. After the current transmission is complete, transmission in the restricted service period starts. The extending duration of the restricted service period can reduce impact on service transmission in the restricted service period.

[0042] According to a third example, an embodiment of this application provides a first communication apparatus, where the first communication apparatus may be applied to a STA and includes: a processing unit, configured to: if a first condition is met, determine that a restricted service period ends, where the first condition includes any one or more of the following: 15               receiving a first frame, where the first frame indicates that the restricted service period ends; receiving no second frame in a preset time period; and receiving a frame for non-low-latency service communication in a local cell, where the local cell is a BSS to which the STA belongs. 20

[0043] With reference to the third example, in a possible implementation, the first frame is an EHT action frame, and an EHT action field in the EHT action frame indicates that the restricted service period ends.

[0044] With reference to the third example, in a possible implementation, the first communication apparatus further includes: 25               a transceiver unit, configured to: when the first condition includes receiving no second frame in the preset time period, receive a third frame before the STA determines that the restricted service period ends, , where the third frame carries a TWT element; and the preset time period is determined by a nominal minimum TWT wake duration field and a wake duration unit field in the TWT element. 30

[0045] With reference to the third example, in a possible implementation, the transceiver unit may be further configured to: when the first condition includes: receiving the frame for non-low-latency service communication in the local cell, receive a fourth frame before the STA determines that the restricted service period ends, where the fourth frame carries a TWT element; and the TWT element carries a threshold access class of a non-low-latency service or a 35 preset service identifier of a non-low-latency service, and the non-low-latency service is a service 2025201318   29 Sep 2026 whose access class of the service is lower than or equal to the threshold access class of the nonlow-latency service; or the non-low-latency service is a service whose service identifier is the preset service identifier of the non-low-latency service.

[0046] With reference to the third example, in a possible implementation, the threshold access class of the non-low-latency service or the preset service identifier of the non-low-latency service is determined by using a broadcast TWT recommendation field in the TWT element.

[0047] With reference to the third example, in a possible implementation, the processing unit may be further configured to: initiate new channel access after determining that the restricted service period ends, or continue to perform channel access that is suspended before the restricted service period.

[0048] According to a fourth example, an embodiment of this application provides a second communication apparatus, where the second communication apparatus may be applied to a STA and includes: a processing unit, configured to obtain a TXOP before a restricted service period arrives. 15

[0049] The processing unit is further configured to: if a second condition is met, skip ending the TXOP before the restricted service period arrives, where the second condition includes any one or more of the following: the TXOP is used to transmit a data frame of a first service; a transmission time for transmitting a service in the TXOP is less than or equal to a first 20 threshold; and the restricted service period is a time period used for D2D transmission.

[0050] With reference to the fourth example, in a possible implementation, the second communication apparatus further includes: a transceiver unit, configured to: when the second condition includes that the 25 transmission time for transmitting the service in the TXOP is less than or equal to the first threshold, before the skipping ending the TXOP before the restricted service period arrives, receive a fifth frame, where the fifth frame carries a TWT element, and the TWT element carries the first threshold.

[0051] With reference to the fourth example, in a possible implementation, the first service is 30 the low-latency service, and the transceiver unit may be further configured to: when the second condition includes that the TXOP is used to transmit the data frame of the first service, before the skipping ending the TXOP before the restricted service period arrives, receive a sixth frame, where the sixth frame carries a TWT element. The TWT element carries a threshold access class of a low-latency service or a preset service identifier of a low-latency service, 35 and the low-latency service is a service whose access class of the service is higher than or equal to the threshold access class of the low-latency service; or the low-latency service is a service whose service identifier is the preset service identifier of the low-latency service.

[0052] With reference to the fourth example, in a possible implementation, the threshold access class of the low-latency service or the preset service identifier of the low-latency service is 5 determined by using a broadcast TWT recommendation field in the TWT element.

[0053] With reference to the fourth example, in a possible implementation, the first service is an exception service, and the transceiver unit is further configured to: when the second condition includes that the TXOP is used to transmit the data frame 2025201318   29 Sep 2026 of the first service, before the skipping ending the TXOP before the restricted service period arrives, receive a seventh frame, where the seventh frame carries a TWT element. The TWT element carries a threshold access class of the exception service or a preset service identifier of the exception service, and the exception service is a service whose access class of the service is higher than or equal to the threshold access class of the exception service; or the exception service is a service whose service identifier is the preset service identifier of the exception service. 15

[0054] With reference to the fourth example, in a possible implementation, the threshold access class of the exception service or the preset service identifier of the exception service is determined by an exception access class field in the TWT element.

[0055] With reference to the fourth example, in a possible implementation, the processing unit may be further configured to: 20              when the restricted service period arrives, when the transmission time for transmitting the service in the TXOP is greater than a second threshold, end the TXOP.

[0056] With reference to the fourth example, in a possible implementation, the processing unit may be further configured to: when the restricted service period arrives, at most one PPDU continues to be 25 transmitted in the TXOP.

[0057] With reference to the fourth example, in a possible implementation, the transceiver unit may be further configured to: receive an eighth frame, where the eighth frame indicates to extend the restricted service period. 30

[0058] According to a fifth example, an embodiment of this application provides a first communication apparatus, where the first communication apparatus may be applied to a STA and includes a processor. Optionally, the first communication apparatus further includes a transceiver that communicates with the processor. The processor is configured to: if a first condition is met, determine that a restricted service period ends, where the first condition includes any one or more 35 of the following: receiving a first frame, where the first frame indicates that the restricted service period 2025201318   29 Sep 2026 ends; receiving no second frame in a preset time period; and receiving a frame for non-low-latency service communication in a local cell, where the 5 local cell is a BSS to which the STA belongs.

[0059] The first communication apparatus provided in the fifth example is configured to perform the first example or any possible implementation of the first example. For specific details, refer to the first example or any possible implementation of the first example. Details are not described herein again. 0

[0060] According to a sixth example, an embodiment of this application provides a second communication apparatus, where the second communication apparatus may be applied to a STA and includes a processor. Optionally, the second communication apparatus further includes a transceiver that communicates with the processor. The processor is configured to obtain a TXOP before a restricted service period arrives. 15

[0061] The processor is further configured to: if a second condition is met, skip ending the TXOP before the restricted service period arrives, where the second condition includes any one or more of the following: the TXOP is used to transmit a data frame of a first service; a transmission time for transmitting a service in the TXOP is less than or equal to a first 20 threshold; and the restricted service period is a time period used for D2D transmission.

[0062] The second communication apparatus provided in the sixth example is configured to perform the second example or any possible implementation of the second example. For specific details, refer to the second example or any possible implementation of the second example. Details 25 are not described herein again.

[0063] According to a seventh example, an embodiment of this application provides a first communication apparatus, where the first communication apparatus may be applied to a STA and includes a processing circuit. Optionally, the first communication apparatus further includes an output interface for internal communication with the processing circuit. The processing circuit is 30 configured to: if a first condition is met, determine that a restricted service period ends, where the first condition includes any one or more of the following: receiving a first frame, where the first frame indicates that the restricted service period ends; receiving no second frame in a preset time period; and 35              receiving a frame for non-low-latency service communication in a local cell, where the 2025201318   29 Sep 2026 local cell is a BSS to which the STA belongs.

[0064] The first communication apparatus provided in the seventh example is configured to perform the first example or any possible implementation of the first example. For specific details, refer to the first example or any possible implementation of the first example. Details are not 5 described herein again.

[0065] According to an eighth example, an embodiment of this application provides a second communication apparatus, where the second communication apparatus may be applied to a STA and includes a processing circuit. Optionally, the second communication apparatus further includes an output interface for internal communication with the processing circuit. The processing circuit 0 is configured to obtain a TXOP before a restricted service period arrives.

[0066] The processing circuit is further configured to: if a second condition is met, skip ending the TXOP before the restricted service period arrives, where the second condition includes any one or more of the following: the TXOP is used to transmit a data frame of a first service; 15               a transmission time for transmitting a service in the TXOP is less than or equal to a first threshold; and the restricted service period is a time period used for D2D transmission.

[0067] The second communication apparatus provided in the eighth example is configured to perform the second example or any possible implementation of the second example. For specific 20 details, refer to the second example or any possible implementation of the second example. Details are not described herein again.

[0068] According to a ninth example, an embodiment of this application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are run on a computer, the computer is enabled to perform the method according to 25 the first example or any possible implementation of the first example.

[0069] According to a tenth example, an embodiment of this application provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are run on a computer, the computer is enabled to perform the method according to the second example or any possible implementation of the second example. 30

[0070] According to an eleventh example, an embodiment of this application provides a computer program product including program instructions. When the computer program product is run on a computer, the computer is enabled to perform the method according to the first example or any possible implementation of the first example.

[0071] According to a twelfth example, an embodiment of this application provides a 35 computer program product including program instructions. When the computer program product 2025201318   29 Sep 2026 is run on a computer, the computer is enabled to perform the method according to the second example or any possible implementation of the second example.

[0072] According to a thirteenth example, an embodiment of this application provides a communication system. The communication system includes the first communication apparatus 5 provided in the third example, the fifth example, or the seventh example, and the second communication apparatus provided in the fourth example, the sixth example, or the eighth example. BRIEF DESCRIPTION OF DRAWINGS

[0073] FIG. 1 is a schematic diagram of an implementation of a TWT service period in the conventional technology; 0

[0074] FIG. 2 is a schematic diagram of a communication system according to an embodiment of this application;

[0075] FIG. 3 is a schematic flowchart of a communication method according to an embodiment of this application;

[0076] FIG. 4 is a schematic diagram of a frame structure according to an embodiment of this 15 application;

[0077] FIG. 5A is a schematic diagram of a frame structure of a TWT element according to an embodiment of this application;

[0078] FIG. 5B is a schematic diagram of a frame structure of an EHT operation element according to an embodiment of this application; 20

[0079] FIG. 6A is a schematic diagram of a frame structure of another TWT element according to an embodiment of this application;

[0080] FIG. 6B is a schematic diagram of a frame structure of another EHT operation element according to an embodiment of this application;

[0081] FIG. 7 is a schematic diagram of a frame structure of still another TWT element 25 according to an embodiment of this application;

[0082] FIG. 8 is a schematic flowchart of another communication method according to an embodiment of this application;

[0083] FIG. 9A is a schematic diagram of a frame structure of yet another TWT element according to an embodiment of this application; 30

[0084] FIG. 9B is a schematic diagram of a frame structure of still another EHT operation element according to an embodiment of this application;

[0085] FIG. 10 is a schematic diagram of another frame structure according to an embodiment 2025201318   24 Feb 2025 of this application;

[0086] FIG. 11 is a schematic diagram of a structure of a first communication apparatus according to an embodiment of this application; and

[0087] FIG. 12 is a schematic diagram of a structure of a second communication apparatus 5 according to an embodiment of this application. DESCRIPTION OF EMBODIMENTS

[0088] The following clearly and completely describes the technical solutions in embodiments of this application with reference to the accompanying drawings in embodiments of this application. 10

[0089] For ease of understanding this application, related technical knowledge included in embodiments of this application is described herein first.

[0090] 1. TWT

[0091] The TWT is a technology defined by Wi-Fi 6 for energy saving. A core idea is to set some periodic time periods, so that some devices need only to keep in an active state in these TWT 15 service periods (service period, TWT SP), and may keep sleep in another time, to save energy.

[0092] The TWT is classified into an individual TWT (individual TWT) and a broadcast TWT (broadcast TWT). In the individual TWT, each STA may independently establish a TWT agreement with an AP. Therefore, each STA may have its own active time period and sleep time period. In the broadcast TWT, the AP may establish a common TWT agreement for a group of 20 STAs, and a plurality of STAs operate in a same active time period, and keep sleep in another time period.

[0093] The individual TWT:

[0094] The individual TWT means that a TWT request station (requesting) sends a TWT request message to a TWT response station (responding) to request to set a wake time. After 25 receiving the TWT request message, the response station sends the TWT response message to the request station. After the interaction succeeds, a TWT agreement is established between the request station and the response station. After the TWT agreement is reached, both the request station and the response station should keep in an active state in an agreed-on time period, to send and receive data. Outside the time period, the station may keep sleep to save energy. Generally, the STA sends 30 a TWT agreement establishment request to the AP, that is, the STA is the request station, and the AP is the response station. Certainly, the AP may alternatively initiate a TWT agreement establishment request to the station. After the TWT agreement is established, the agreed-on active time period is referred to as a TWT service period. FIG. 1 is a schematic diagram of an 2025201318   24 Feb 2025 implementation of a TWT service period in the conventional technology. As shown in FIG. 1, a STA sends a TWT request frame to an AP to request a TWT agreement, and the AP sends a TWT response frame to the STA. Each TWT agreement may include a plurality of periodic TWT service periods with the same duration. 5

[0095] The broadcast TWT:

[0096] Different from the individual TWT, the broadcast TWT provides a "batch management" mechanism. The AP can establish a series of periodic TWT service periods with a plurality of STAs. In the TWT service periods, the plurality of STAs need to keep in an active state, to communicate with the AP. 10

[0097] The AP may carry information about one or more broadcast TWTs in a beacon frame (beacon frame), and each broadcast TWT is jointly represented by a broadcast TWT identifier and a medium access control (media access control, MAC) address of the AP. After receiving the beacon frame, if the STA intends to join the broadcast TWT, the STA may send a broadcast TWT establishment request message to the AP, to join the broadcast TWT. During establishment of the 15 broadcast TWT, the STA needs to specify a broadcast TWT identifier to request to join a specific broadcast TWT. After joining the broadcast TWT, the STA may be woken up based on a service period indicated by a TWT parameter set, to communicate with the AP. It should be noted that, if the STA supports the broadcast TWT but does not explicitly join a broadcast TWT ID, the STA participates in a broadcast TWT whose broadcast TWT ID = 0 by default. 20

[0098] Similar to the individual TWT, the broadcast TWT parameter set also specifies a period at which the TWT service period appears and duration of each TWT service period. In addition, broadcast TWT parameters further include a lifecycle of the broadcast TWT. The lifecycle of the broadcast TWT is counted by using a beacon frame interval as a unit, and indicates duration of an established broadcast TWT. 25

[0099] 2. Low-latency communication

[00100] With development of a wireless network and continuous upgrade of a wireless local area network (wireless local area network, WLAN) technology, increasingly more application traffic is carried by Wi-Fi. In addition, emerging mobile applications have increasingly high requirements on WLAN latency performance. For example, applications such as wireless video, 30 voice, game, and augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) each have a high requirement on a communication latency.

[00101] To meet different types of traffic requirements, the WLAN needs to prioritize different services. For example, in a WLAN channel contention access process, each device has four different access categories, and transmission priority division is implemented by using different 35 contention parameters. Each access class may include two service identifiers, to correspond to two 2025201318   24 Feb 2025 different services. Generally, a data packet of a low-latency service is periodically generated.

[00102] A restricted TWT service period (restricted TWT SP, R-TWT-SP) is only used to serve the low-latency service, and another service cannot communicate in this period. In addition, if the STA has started communication before the R-TWT-SP, the current communication needs to be 5 ended before the R-TWT-SP starts.

[0103] Technical defects of this mechanism include the following two examples:

[0104] 1. A length of the R-TWT-SP may exceed a time length required for actual communication of the low-latency service. However, according to regulations, no other communication is allowed in the R-TWT-SP, and therefore an R-TWT-SP time after the low-10 latency communication ends is wasted.

[0105] 2. Before the R-TWT-SP arrives, ongoing communication of the STA may also be communication of the low-latency service. However, according to regulations, the STA needs to end its transmit opportunity (transmit opportunity, TXOP) before the R-TWT-SP arrives. This affects latency performance of the low-latency service of the STA. 15

[0106] Based on the problem that the R-TWT-SP time after the low-latency communication ends is wasted, an embodiment of this application provides a communication method, to save communication resources during Communication in an R-TWT SP. The communication method is specifically: if a first condition is met, the STA determines that a restricted service period ends, where the first condition includes any one or more of the following: receiving a first frame, where 20 the first frame indicates that the restricted service period ends; receiving no second frame in a preset time period; and receiving a frame for non-low-latency service communication in a local cell, where the local cell is a BSS to which the STA belongs. Because the STA can perform only communication of a low-latency service in the restricted service period, when any one or more conditions in the first condition are met, the STA determines that the restricted service period ends, 25 and ends the restricted service period in advance. In this way, waste of a remaining idle restricted service time after the low-latency service is completed can be avoided, thereby saving communication resources.

[0107] Based on the problem that the latency performance of the low-latency service of the STA is affected, an embodiment of this application provides a communication method, so that 30 ongoing transmission of the low-latency service is not interrupted, thereby ensuring latency performance of the low-latency service of the STA. The communication method is specifically: The STA obtains a TXOP before a restricted service period arrives; and if a second condition is met, the STA skips ending the TXOP before the restricted service period arrives, where the second condition includes any one or more of the following: the TXOP is used to transmit a data frame of 35 a first service; a transmission time for transmitting a service in the TXOP is less than or equal to a 2025201318   24 Feb 2025 first threshold; and the restricted service period is a time period used for D2D transmission. Because the STA needs to end its TXOP before the restricted service period arrives, if any one or more of exception conditions (the second condition) are met, the STA may not need to end its transmit opportunity before the restricted service period arrives. In this way, ongoing transmission 5 of the low-latency service is not interrupted, thereby ensuring latency performance of the low-latency service of the STA.

[0108] To better understand a communication method and apparatus, and a computer-readable storage medium provided in embodiments of this application, the following first describes a communication system to which embodiments of this application are applied. 10

[0109] It should be understood that, the technical solutions of embodiments of this application may be applied to various communication systems, such as: a Wi-Fi wireless communication system, a global system for mobile communications (global system for mobile communications, GSM) system, a code division multiple access (code division multiple access, CDMA) system, a wideband code division multiple access (wideband code division multiple access, WCDMA) 15 system, a general packet radio service (general packet radio service, GPRS) system, a long term evolution (long term evolution, LTE) system, an LTE frequency division duplex (frequency division duplex, FDD) system, an LTE time division duplex (time division duplex, TDD) system, a universal mobile telecommunication system (universal mobile telecommunication system, UMTS), a worldwide interoperability for microwave access (worldwide interoperability for 20 microwave access, WiMAX) communication system, other future evolved systems, or various other wireless communication system using a radio access technology.

[0110] FIG. 2 is a schematic diagram of a communication system according to an embodiment of this application. As shown in FIG. 2, the communication system includes one network device and at least one terminal device located within coverage of the network device. The network device 25 may provide communication coverage for a specific geographic area, and communicate with the terminal device located in the coverage area. The network device may be a base transceiver station (base transceiver station, BTS) in a GSM system or a code division multiple access (code division multiple access, CDMA) system, may be a NodeB (NodeB, NB) in a WCDMA system, may be an evolved NodeB (evolved NodeB, eNB, or eNodeB) in an LTE system, may be a radio controller 30 in a cloud radio access network (cloud radio access network, CRAN), or may be a relay station, an access point AP, a vehicle-mounted device, a wearable device, a network side device in a future network, or the like. The terminal device may be mobile or fixed, and the terminal device may be a station STA, an access terminal, user equipment (user equipment, UE), a subscriber unit, a subscriber station, a mobile station, a mobile console, a remote station, a remote terminal, a mobile 35 device, a user terminal, a wireless communication device, a user agent, a user apparatus, or the 2025201318   24 Feb 2025 like.

[0111] It should be noted that the STA in this embodiment of this application is a STA supporting an R-TWT-SP. The STA may declare in advance whether the STA supports the R-TWT-SP. If the STA supports the R-TWT-SP, the STA needs to end ongoing communication of a non-5 low-latency service before the R-TWT-SP starts. If the STA does not support the R-TWT-SP, the STA may ignore the R-TWT-SP. Because the R-TWT-SP affects the communication of the nonlow-latency service of the STA that supports this feature to some extent, the R-TWT-SP in this embodiment of this application can serve only the STA that supports the R-TWT-SP feature.

[0112] It should be understood that the communication system shown in FIG. 2 is merely an 10 example for description, and does not constitute a limitation on the communication system.

[0113] FIG. 3 is a schematic flowchart of a communication method according to an embodiment of this application. The following uses a STA as an example to describe the method. However, it should be understood that the method is not limited to execution by the STA, and may also be executed by an AP. The STA described in this specification includes apparatuses / devices 15 in various forms on a STA side, and the AP includes various apparatuses / devices in various forms on an AP side. As shown in FIG. 3, the communication method includes but is not limited to the following steps.

[0114] 301: If a first condition is met,

[0115] 302: The STA determines that a restricted service period ends. 20

[0116] The first condition includes one or more of the following conditions:

[0117] Condition (1): The STA receives a first frame indicating that the restricted service period ends.

[0118] Condition (2): The STA receives no second frame in a preset time period.

[0119] Condition (3): The STA receives a frame for non-low-latency service communication 25 in a local cell.

[0120] The restricted service period is a period of time, and the AP and the STA are only used to serve the low-latency service in this period of time. Optionally, the restricted service period may be referred to as an R-SP (restricted service period, R-SP), or may be referred to as a restricted TWT SP (restricted TWT SP). It may be understood that the restricted service period may 30 alternatively have another name. This is not limited in this embodiment of this application.

[0121] It may be understood that, to ensure that restricted service periods of a plurality of cells do not affect each other, the AP may send a parameter value of a restricted service period of the AP to another AP. When setting a parameter value of a restricted service period for the another AP, it needs to ensure that the restricted service periods of the plurality of APs does not overlap. 35

[0122] The following separately describes the first condition in detail. It should be understood 2025201318   24 Feb 2025 that the first condition includes but is not limited to the foregoing three conditions.

[0123] For the condition (1):

[0124] The AP indicates that the restricted service period has ended, and sends, to the STA, the first frame indicating that the restricted service period ends. After receiving the first frame sent 5 by the AP, the STA determines that the restricted service period ends.

[0125] Specifically, there are two cases in which the AP may indicate that the restricted service period has ended.

[0126] Case 1: When low-latency service communication in the restricted service period has ended, the AP may send, to the STA in the restricted service period, the first frame indicating that 10 the restricted service period ends.

[0127] Case 2: If low-latency service communication does not exist in the current restricted service period, the AP may send, to the STA before the restricted service period arrives, the first frame indicating that the restricted service period ends.

[0128] An implementation of the first frame is that the first frame may be an EHT action frame. 15 FIG. 4 is a schematic diagram of a frame structure according to an embodiment of this application. As shown in FIG. 4, an EHT action frame may include a frame control (frame control) field, a duration (duration) field, a receiver address (Receiver address, RA) field, a transmitter address (sending address, TA) field, a basic service set identifier (BSS ID) field, a sequence control (sequence control) field, a high throughput control (HT control) field, a frame body (frame body) 20 field, and a frame check sequence (frame check sequence, FCS) field. The frame body (frame body) field includes a category (category) subfield and an extremely high throughput action (EHT action) subfield. A value of the extremely high throughput action (EHT action) subfield indicates that the EHT action frame is used to terminate the current restricted service period. For example, when the value of the extremely high throughput action (EHT action) subfield is 0, it may indicate to 25 terminate the current restricted service period, or when the value of the extremely high throughput action (EHT action) subfield is 1, it may indicate to terminate the current restricted service period. The value of the extremely high throughput action (EHT action) subfield may alternatively be a value such as 2 or 3. It indicates to terminate the current restricted service period. It may be understood that the value of the extremely high throughput action (EHT action) subfield is merely 30 an example for description, and does not constitute a limitation thereto.

[0129] Another implementation of the first frame is that the first frame may be a contention free end (contention free end, CF-End) frame. If the STA receives the CF-end frame sent by the AP in the restricted service period, the STA determines that the restricted service period ends.

[0130] The first frame may be sent in a broadcast form. 35

[0131] For the condition (2): 2025201318   24 Feb 2025

[0132] After entering the restricted service period, if the STA receives no second frame in the preset time period, the STA determines that the restricted service period ends.

[0133] The preset time period may be sent by the AP to the STA, for example, carried in a TWT element or carried in an EHT operation element (EHT operation element) for sending. 5 Specifically, the preset time period may be determined by a nominal minimum TWT wake duration (nominal minimum TWT wake duration) field and a wake duration unit (wake duration unit) field of the TWT element, or may be determined by a minimum restricted service period duration (minimum restricted service period duration) field in the EHT operation element. Alternatively, the preset time period may be specified in a standard. For example, the preset time period may be 10    1 ms (millisecond), 100 ps (microsecond), or the like. The preset time period is less than the restricted service period.

[0134] If the preset time period is sent by the AP to the STA, the STA may receive a third frame that is sent by the AP and that carries the TWT element or the EHT operation element. The third frame may be a beacon frame (beacon), or may be a TWT response frame. 15

[0135] FIG. 5A is a schematic diagram of a frame structure of a TWT element according to an embodiment of this application. As shown in FIG. 5A, the TWT element may include an element identifier (element ID) field, a length (length) field, a control (control) field, and a TWT parameter information (TWT parameter information) field. The TWT parameter information (TWT parameter information) field may include a nominal minimum TWT wake duration (nominal 20 minimum TWT wake duration) subfield. The control (control) field may include a wake duration unit (wake duration unit) subfield.

[0136] FIG. 5B is a schematic diagram of a frame structure of an EHT operation element according to an embodiment of this application. As shown in FIG. 5B, the EHT operation element may include a minimum restricted service period duration (minimum restricted service period 25 duration) field. It may be understood that the field indicates a length of the preset time period, and may have another name. The name of the field is not limited.

[0137] The preset time period may be determined by the nominal minimum TWT wake duration (nominal minimum TWT wake duration) field and the wake duration unit (wake duration unit) field that are in the TWT element in FIG. 5A. 30

[0138] Specifically, after receiving the third frame, the STA may determine a length of the restricted service period based on the nominal minimum TWT wake duration (nominal minimum TWT wake duration) field and the wake duration unit (wake duration unit) field. For example, in the standard, when a value of the wake duration unit (wake duration unit) field is 0, it indicates that a unit is 256 ps (microsecond), and when the value of the wake duration unit (wake duration 35 unit) field is 1, it indicates that the unit is 1024 ps (microsecond). Duration of the preset time 2025201318   24 Feb 2025 period is obtained by multiplying a value indicated by the nominal minimum TWT wake duration (nominal minimum TWT wake duration) field by the time unit indicated by the wake duration unit field, and then by a first coefficient. The first coefficient may be a predefined value, for example, 0.1, 0.2, 0.5, 0.8, and 1. The first coefficient may be sent by the AP to the STA. Specifically, the 5 first coefficient may be carried in the TWT element.

[0139] Alternatively, the preset time period may be determined by the minimum restricted service period duration (minimum restricted service period duration) field in the EHT operation element shown in FIG. 5B.

[0140] Specifically, after receiving the third frame, the STA may determine a length of the 10 preset time period based on the minimum restricted service period duration (minimum restricted service period duration) field.

[0141] The second frame may be the frame for low-latency service communication in the local cell, or may be a frame sent by an AP in the local cell, or may be any frame.

[0142] The local cell may be understood as a BSS to which the STA belongs. The STA may 15 obtain a value of a BSS color of the local cell in advance. The STA may determine, based on a physical layer frame header or a MAC layer frame header of the received frame, whether the received frame is the frame in the local cell. Specifically, a BSS color field in the physical layer frame header may be used for determining. If a value of a received BSS color field is the same as the value of the BSS color in the local cell, it is determined that the received frame is the frame in 20 the local cell. A receiver address field or a transmitter address field in the MAC layer frame header may also be used for determining. If a value of the receiver address field or the transmitter address field is the same as a value of a MAC address of the AP in the local cell, it is determined that the received frame is the frame in the local cell.

[0143] The low-latency service may be a service whose access class of the service is higher 25 than or equal to some specific access categories (threshold access categories of the low-latency service), or may be a service whose service identifiers are some specific identifiers (preset service identifiers of the low-latency service). It may be understood that the low-latency service may be a service whose priority corresponding to an access class of the service is higher than or equal to priorities corresponding to some specific access categories (threshold access categories of the low-30 latency service), or may be a service whose service identifiers are some specific identifiers (preset service identifiers of the low-latency service). The threshold access class of the low-latency service or the preset service identifier of the low-latency service may be sent by the AP to the STA, for example, carried in the TWT element or carried in the EHT operation element (EHT operation element) for sending. The threshold access class of the low-latency service or the preset service 35 identifier of the low-latency service may also be specified in a standard. For example, AC = 2025201318   24 Feb 2025 AC_VO or AC = AC_VI; or TID = 0 or 1. Optionally, the service identifier may be a specific service identifier name, or may be a specific value.

[0144] If the threshold access class of the low-latency service or the preset service identifier of the low-latency service is sent by the AP to the STA, the STA may receive a sixth frame that is 5 sent by the AP and that carries the TWT element or the EHT operation element. The sixth frame may be a beacon frame (beacon), or may be a TWT response frame.

[0145] FIG. 6A is a schematic diagram of a frame structure of another TWT element according to an embodiment of this application. As shown in FIG. 6A, the TWT element may include an element identifier (element ID) field, a length (length) field, a control (control) field, and a TWT 10 parameter information (TWT parameter information) field. The TWT parameter information (TWT parameter information) field may include a request type (request type) subfield, a target wake time (target wake time) subfield, a nominal minimum TWT wake duration (nominal minimum TWT wake duration) subfield, a TWT wake interval mantissa (TWT wake interval mantissa) subfield, and a broadcast TWT information (broadcast TWT Info) subfield. The request 15 type (request type) subfield may include a broadcast TWT recommendation (broadcast TWT recommendation) subfield.

[0146] FIG. 6B is a schematic diagram of a frame structure of another EHT operation element according to an embodiment of this application. As shown in FIG. 6B, the EHT operation element may include a threshold access class or a preset service identifier field. It may be understood that 20 the threshold access class or the preset service identifier field may indicate a threshold access class of a low-latency service or a preset service identifier field of a low-latency service, or may have another name. The name of the field is not limited.

[0147] The threshold access class of the low-latency service or the preset service identifier of the low-latency service may be determined by using the broadcast TWT recommendation 25 (broadcast TWT recommendation) field in the TWT element shown in FIG. 6A or the threshold access class or the preset service identifier field in the EHT operation element shown in FIG. 6B. The following specifically describes an implementation in which the threshold access class of the low-latency service or the preset service identifier of the low-latency service may be determined by using the broadcast TWT recommendation (broadcast TWT recommendation) field in the TWT 30 element shown in FIG. 6A.

[0148] In a possible implementation, the broadcast TWT recommendation (broadcast TWT recommendation) field may indicate the threshold access class of the low-latency service or the preset service identifier of the low-latency service by using an index. Specifically, a value of the broadcast TWT recommendation (broadcast TWT recommendation) field may indicate an index 35 value, and the index value may correspond to the threshold access class of the low-latency service 2025201318   24 Feb 2025 or the preset service identifier of the low-latency service. Specifically, the broadcast TWT recommendation (broadcast TWT recommendation) field indicates the threshold access class of the low-latency service or the preset service identifier of the low-latency service by using an index value. 5

[0149] A correspondence between the value of the broadcast TWT recommendation (broadcast TWT recommendation) field and the threshold access class of the low-latency service may be shown in the following Table 1. Table 1 Value of a broadcast TWT recommendation (broadcast TWT recommendation) field Threshold access class of a low-latency service First value AC_VO Second value AC_VO and AC_VI 10

[0150] In Table 1, when the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the first value, a threshold access class, of a low-latency service, corresponding to the first value is AC_VO. When the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the second value, a threshold access class, of a low-latency service, corresponding to the second value is AC_VO and ACVI. It may be understood 15 that the correspondence between the value of the broadcast TWT recommendation (broadcast TWT recommendation) field and the threshold access class of the low-latency service that is shown in Table 1 is merely an example. In actual application, the correspondence between the value of the broadcast TWT recommendation (broadcast TWT recommendation) field and the threshold access class of the low-latency service may be determined according to an actual application 20 scenario. This is not limited in this embodiment of this application.

[0151] If the broadcast TWT recommendation (broadcast TWT recommendation) field, in the TWT element, received by the STA is an index value, the STA may determine, based on the index value, a threshold access class, of a low-latency service, corresponding to the index value. Then, whether the currently received service is the low-latency service is determined based on an access 25 class of the service. For example, if the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the first value, the STA may determine whether the access class of the currently received service is AC_VO, and if yes, determine that the currently received service is the low-latency service. If the value of the broadcast TWT recommendation (broadcast TWT 2025201318   24 Feb 2025 recommendation) field is the second value, the STA may determine whether the access class of the currently received service is AC_VO or AC_VI, and if yes, determine that the currently received service is the low-latency service. When the STA determines that the currently received service is not the low-latency service of the local cell, the condition (2) is met, and the STA determines that 5 the restricted service period ends.

[0152] A correspondence between the value of the broadcast TWT recommendation (broadcast TWT recommendation) field and the preset service identifier of the low-latency service may be shown in the following Table 2. Table 2 Value of a broadcast TWT recommendation (broadcast TWT recommendation) field Preset service identifier of a low-latency service First value 6 and 7 Second value 4, 5, 6, and 7 Third value (for example, 3) Values between the third value (for example, 3) and 7 10

[0153] In Table 2, when the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the first value, preset service identifiers, of the low-latency service, corresponding to the first value are 6 and 7. When the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the second value, preset service identifiers, of the low-15 latency service, corresponding to the second value are 4, 5, 6, and 7. When the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the third value (for example, 3), preset service identifiers, of the low-latency service, corresponding to the third value are the values between the third value (for example, 3) and 7. It may be understood that the correspondence between the value of the broadcast TWT recommendation (broadcast TWT 20 recommendation) field and the preset service identifier of the low-latency service that is shown in Table 2 is merely an example. In actual application, the correspondence between the value of the broadcast TWT recommendation (broadcast TWT recommendation) field and the preset service identifier of the low-latency service may be determined according to an actual application scenario. This is not limited in this embodiment of this application. 25

[0154] If the broadcast TWT recommendation (broadcast TWT recommendation) field, in the TWT element, received by the STA is an index value, the STA may determine, based on the index 2025201318   24 Feb 2025 value, a preset service identifier, of a low-latency service, corresponding to the index value. Then, whether the currently received service is the low-latency service is determined based on a service identifier of the service. For example, if the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the first value, the STA may determine whether the 5 service identifier of the currently received service is 6 or 7, and if yes, determine that the currently received service is the low-latency service. For another example, if the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the second value, the STA may determine whether the service identifier of the currently received service is one of 4, 5, 6, or 7, and if yes, determine that the currently received service is the low-latency service. For another example, 10 if the value of the broadcast TWT recommendation (broadcast TWT recommendation) field is the third value, the STA may determine whether the service identifier of the currently received service is one of the values between the third value (for example, 3) and 7, and if yes, determine that the currently received service is the low-latency service. When the STA determines that the currently received service is not the low-latency service of the local cell, the condition (2) is met, and the 15 STA determines that the restricted service period ends.

[0155] In another possible implementation, the broadcast TWT recommendation (broadcast TWT recommendation) field may directly indicate the threshold access class of the low-latency service or the preset service identifier of the low-latency service. Specifically, when information in the broadcast TWT recommendation (broadcast TWT recommendation) field is AC_VO, it may 20   indicate that AC_VO is the threshold access class of the low-latency service. When the information in the broadcast TWT recommendation (broadcast TWT recommendation) field is AC_VO and ACVI, it may indicate that AC_VO and AC_VI are the threshold access categories of the low-latency service. Alternatively, when the information in the broadcast TWT recommendation (broadcast TWT recommendation) field is 6 and 7, it may indicate that 6 and 7 are the preset 25 service identifiers of the low-latency service. When the information in the broadcast TWT recommendation (broadcast TWT recommendation) field is 4, 5, 6, and 7, it may indicate that 4, 5, 6, and 7 are the preset service identifiers of the low-latency service. When the information in the broadcast TWT recommendation (broadcast TWT recommendation) field is the third value (for example, 3), it may indicate that the values between the third value (for example, 3) and 7 are the 30 preset service identifiers of the low-latency service.

[0156] If the information in the broadcast TWT recommendation (broadcast TWT recommendation) field, in the TWT element, received by the STA directly indicates the threshold access class of the low-latency service or the preset service identifier of the low-latency service, the STA may determine the threshold access class of the low-latency service or the preset service 35 identifier of the low-latency service based on the information in the field. The access class or the 2025201318   24 Feb 2025 service identifier of the currently received service and the information in the broadcast TWT recommendation (broadcast TWT recommendation) field are used to determine whether the currently received service is the low-latency service. When the STA determines that the currently received service is not the low-latency service of the local cell, the condition (2) is met, and the 5 STA determines that the restricted service period ends.

[0157] It may be understood that the threshold access class of the low-latency service or the preset service identifier of the low-latency service may also be determined by using the threshold access class or the preset service identifier field in the EHT operation element shown in FIG. 6B. For a specific implementation, refer to a manner of determining the broadcast TWT 10 recommendation (broadcast TWT recommendation) field in the foregoing TWT element. To avoid repetition, details are not described herein again.

[0158] Optionally, a new low-latency field may be added to the TWT element carried in the sixth frame, and the threshold access class of the low-latency service or the preset service identifier of the low-latency service is determined by using the low-latency field. 15

[0159] FIG. 7 is a schematic diagram of a frame structure of still another TWT element according to an embodiment of this application. As shown in FIG. 7, the TWT element may include an element identifier (element ID) field, a length (length) field, a control (control) field, and a TWT parameter information (TWT parameter information) field. The control (control) field may include a low latency (low latency) subfield. 20

[0160] A threshold access class of a low-latency service or a preset service identifier of a low- latency service may be determined by using the TWT element shown in FIG. 7.

[0161] In a possible implementation, the low latency (low latency) field may indicate the threshold access class of the low-latency service or the preset service identifier of the low-latency service by using an index. Specifically, a value of the low latency (low latency) field may indicate 25 an index value, and the index value may correspond to the threshold access class of the low-latency service or the preset service identifier of the low-latency service. Specifically, the low latency (low latency) field indicates the threshold access class of the low-latency service or the preset service identifier of the low-latency service by using an index value.

[0162] A correspondence between the value of the low latency (low latency) field and the 30 threshold access class of the low-latency service may be shown in the following Table 3. 2025201318   24 Feb 2025 Table 3 Value of a low latency (low latency) field Threshold access class of a low-latency service First value AC_VO Second value AC_VO and AC_VI

[0163] In Table 3, when the value of the low latency (low latency) field is the first value, a threshold access class, of a low-latency service, corresponding to the first value is AC_VO. When 5 the value of the low latency (low latency) field is the second value, a threshold access class, of a low-latency service, corresponding to the second value is AC_VO and AC_VI. It may be understood that the correspondence between the value of the low latency (low latency) field and the threshold access class of the low-latency service that is shown in Table 3 is merely an example. In actual application, the correspondence between the value of the low latency (low latency) field 10 and the threshold access class of the low-latency service may be determined according to an actual application scenario. This is not limited in this embodiment of this application.

[0164] If the low latency (low latency) field, in the TWT element or the EHT operation element, received by the STA is an index value, the STA may determine, based on the index value, a threshold access class, of a low-latency service, corresponding to the index value. Then, whether 15 the currently received service is the low-latency service is determined based on an access class of the service. For example, if the value of the low latency (low latency) field is the first value, the STA may determine whether the access class of the currently received service is AC_VO, and if yes, determine that the currently received service is the low-latency service. If the value of the low latency (low latency) field is the second value, the STA may determine whether the access class of 20 the currently received service is AC_VO or ACVI, and if yes, determine that the currently received service is the low-latency service. When the STA determines that the currently received service is not the low-latency service of the local cell, the condition (2) is met, and the STA determines that the restricted service period ends.

[0165] A correspondence between the value of the low latency (low latency) field and the 25 preset service identifier of the low-latency service may be shown in the following Table 4. 2025201318   24 Feb 2025 Table 4 Value of a low latency (low latency) field Preset service identifier of a low-latency service First value 6 and 7 Second value 4, 5, 6, and 7

[0166] In Table 4, when the value of the low latency (low latency) field is the first value, preset service identifiers, of the low-latency service, corresponding to the first value are 6 and 7. When 5 the value of the low latency (low latency) field is the second value, preset service identifiers, of the low-latency service, corresponding to the second value are 4, 5, 6, and 7. It may be understood that the correspondence between the value of the low latency (low latency) field and the preset service identifier of the low-latency service that is shown in Table 4 is merely an example. In actual application, the correspondence between the value of the low latency (low latency) field and the 10 preset service identifier of the low-latency service may be determined according to an actual application scenario. This is not limited in this embodiment of this application.

[0167] If the low latency (low latency) field, in the TWT element or the EHT operation element, received by the STA is an index value, the STA may determine, based on the index value, a preset service identifier, of a low-latency service, corresponding to the index value. Then, whether the 15 currently received service is the low-latency service is determined based on a service identifier of the service. For example, if the value of the low latency (low latency) field is the first value, the STA may determine whether the service identifier of the currently received service is 6 or 7, and if yes, determine that the currently received service is the low-latency service. For another example, if the value of the low latency (low latency) field is the second value, the STA may determine 20 whether the service identifier of the currently received service is one of 4, 5, 6, or 7, and if yes, determine that the currently received service is the low-latency service. When the STA determines that the currently received service is not the low-latency service of the local cell, the condition (2) is met, and the STA determines that the restricted service period ends.

[0168] In another possible implementation, the low latency (low latency) field may directly 25 indicate the threshold access class of the low-latency service or the preset service identifier of the low-latency service. Specifically, when information in the low latency (low latency) field is AC_VO, it may indicate that AC_VO is the threshold access class of the low-latency service. When the information in the low latency (low latency) field is AC_VO and ACVI, it may indicate that AC_VO and AC_VI are the threshold access categories of the low-latency service. 30 Alternatively, when the information in the low latency (low latency) field is 6 and 7, it may indicate 2025201318   24 Feb 2025 that 6 and 7 are the preset service identifiers of the low-latency service. When the information in the low latency (low latency) field is 4, 5, 6, and 7, it may indicate that 4, 5, 6, and 7 are the preset service identifiers of the low-latency service.

[0169] If the information in the low latency (low latency) field, in the TWT element or the 5 EHT operation element, received by the STA directly indicates the threshold access class of the low-latency service or the preset service identifier of the low-latency service, the STA may determine the threshold access class of the low-latency service or the preset service identifier of the low-latency service based on the information in the field. The access class or the service identifier of the currently received service and the information in the low latency (low latency) 10 field are used to determine whether the currently received service is the low-latency service. When the STA determines that the currently received service is not the low-latency service of the local cell, the condition (2) is met, and the STA determines that the restricted service period ends.

[0170] Optionally, a special value of the low-latency field may indicate that the established TWT is not used for low-latency communication, but is used for conventional TWT 15 communication. Another value is used for the low-latency communication and indicates an access class or a service identifier corresponding to the low-latency communication. Values are shown in Table 5 below. Table 5 Value of a low latency (low latency) field Meaning 0 Non-low latency 1 AC_VO 2 AC_VO and AC_VI 20

[0171] It may be understood that the meaning of the value shown in Table 5 is merely an example. In actual application, the meaning of the value may be determined according to an actual application scenario. This is not limited in this embodiment of this application.

[0172] For the condition (3):

[0173] After entering the restricted service period, if the STA receives a frame of non-low-25 latency service (that is, a common service) communication in the local cell, the STA determines that the restricted service period ends.

[0174] The local cell may be understood as a BSS to which the STA belongs. The STA may obtain a value of a BSS color of the local cell in advance. The STA may determine, based on a 2025201318   24 Feb 2025 physical layer frame header or a MAC layer frame header of the received frame, whether the received frame is the frame in the local cell. Specifically, a BSS color field in the physical layer frame header may be used for determining. If a value of a received BSS color field is the same as the value of the BSS color in the local cell, it is determined that the received frame is the frame in 5 the local cell. A receiver address field or a transmitter address field in the MAC layer frame header may be used for determining. If a value of the receiver address field or the transmitter address field is the same as a MAC address of the AP in the local cell, it is determined that the received frame is the frame in the local cell.

[0175] The non-low-latency service may be a service whose access class of the service is lower 10 than some specific access categories (threshold access categories of the non-low-latency service), or may be a service whose service identifiers are some specific identifiers (preset service identifiers of the non-low-latency service). It may be understood that the non-low-latency service may be a service whose priority corresponding to an access class of the service is lower than priorities corresponding to some specific access categories (threshold access categories of the non-low-15 latency service), or may be a service whose service identifiers are some specific identifiers (preset service identifiers of the non-low-latency service). The threshold access class of the non-low-latency service or the preset service identifier of the non-low-latency service may be sent by the AP to the STA, for example, carried in the TWT element or in the EHT operation element for sending. The threshold access class of the non-low-latency service or the preset service identifier 20 of the non-low-latency service may also be specified in a standard. Optionally, the service identifier may be a specific service identifier name, or may be a specific value.

[0176] If the threshold access class of the non-low-latency service or the preset service identifier of the non-low-latency service is sent by the AP to the STA, the STA may receive a fourth frame that is sent by the AP and that carries the TWT element or the EHT operation element. The 25 fourth frame may be a beacon frame (beacon), or may be a TWT response frame. A schematic diagram of a frame structure of the TWT element may be shown in FIG. 6A, and a schematic diagram of a frame structure of the EHT operation element may be shown in FIG. 6B. The broadcast TWT recommendation (broadcast TWT recommendation) field in the TWT element or the threshold access class or the preset service identifier field in the EHT operation element may 30 indicate the threshold access class of the non-low-latency service or the preset service identifier of the non-low-latency service. For a specific implementation, refer to the implementation, in the foregoing condition (2), for indicating the threshold access class of the low-latency service or the preset service identifier of the non-low-latency service by using the broadcast TWT recommendation (broadcast TWT recommendation) field in the TWT element or the threshold 35 access class or the preset service identifier field in the EHT operation element. To avoid repetition, 2025201318   24 Feb 2025 details are not described herein again. If an access class or a service identifier of the current service received by the STA is the threshold access class of the low-latency service or the preset service identifier of the low-latency service indicated by the broadcast TWT recommendation (broadcast TWT recommendation) field, the STA may determine that the current service is the non-low-5 latency service. When the STA determines that the current service is the non-low-latency service of the local cell, that is, the condition (3) is met, the STA determines that the restricted service period ends.

[0177] Optionally, the STA may receive a sixth frame. Because a TWT element or an EHT operation element carried in the sixth frame indicates the threshold access class of the low-latency 10 service or the preset service identifier of the low-latency service, when receiving the current service, the STA may determine whether the access class or the service identifier of the current service is the threshold access class of the low-latency service or the preset service identifier of the low-latency service. If not, the STA may determine that the current service is the non-low-latency service. When the STA determines that the current service is the non-low-latency service 15 of the local cell, that is, the condition (3) is met, the STA determines that the restricted service period ends.

[0178] When the first condition includes the condition (2), the AP needs to send a third frame and a fourth frame to the STA, and the third frame and the fourth frame may be a same frame. A TWT element or an EHT operation element carried in the third frame or the fourth frame indicates 20 both a preset time period and the threshold access class of the non-low-latency service or the preset service identifier of the low-latency service. Alternatively, the AP needs to send a third frame and a sixth frame to the STA, and the third frame and the sixth frame may be a same frame. A TWT element or an EHT operation element carried in the third frame or the sixth frame indicate both a preset time period and the threshold access class of the low-latency service or the preset service 25 identifier of the low-latency service.

[0179] When the first condition includes the condition (3), the AP needs to send a fourth frame to the STA, and the third frame and the fourth frame are different frames. A TWT element or an EHT operation element carried in the third frame indicates a preset time period. A TWT element or an EHT operation element carried in the fourth frame indicates the threshold access class of the 30 non-low-latency service or the preset service identifier of the low-latency service. Alternatively, the AP needs to send a sixth frame to the STA, and the third frame and the sixth frame are different frames. A TWT element or an EHT operation element carried in the third frame indicates a preset time period. A TWT element or an EHT operation element carried in the sixth frame indicates the threshold access class of the low-latency service or the preset service identifier of the low-latency 35 service. 2025201318   24 Feb 2025

[0180] When the restricted service period arrives, an ongoing channel access process of the STA is suspended, and channel access in the restricted service period starts. When any one or more of the foregoing first conditions are met, the STA determines that the restricted service period ends. After determining that the restricted service period ends, the STA may initiate new channel access, 5 or continue to perform channel access that is suspended before the restricted service period. The channel access may be a channel access process based on carrier sense multiple access / interference avoidance (carrier sense multiple access / collision avoidance, CSMA / CA) or enhanced distributed channel access (enhanced distributed channel access, EDCA).

[0181] It may be understood that, in a conventional channel access rule, after the STA receives 10 a trigger frame sent by the AP and sends a data frame, if the STA subsequently performs channel access in the EDCA access manner, the STA needs to perform channel contention by using a multiuser (multi-user, MU) EDCA parameter set. This is because the STA has performed channel access in a manner of responding to the trigger frame, and a conservative parameter (namely, the MU EDCA parameter set) needs to be used in subsequent channel access. In this embodiment of this 15 application, because the data frame sent by the STA after the STA receives the trigger frame in the restricted service period is a data frame of the low-latency service, a channel access opportunity of the low-latency service is not affected. After the STA receives, in the restricted service period, the trigger frame sent by the AP, and sends the data frame, if the STA needs to perform channel access in the EDCA access manner subsequently, the STA may perform channel access by using 20 an original EDCA parameter set instead of using the MU EDCA parameter set.

[0182] It may be understood that, because the STA needs to end ongoing communication of the non-low-latency service of the STA before the restricted service period starts, if the STA completes random backoff before the restricted service period starts, but does not perform transmission before the restricted service period, after the restricted service period ends, if the 25 station needs to perform channel access in the EDCA access manner subsequently, a used EDCA parameter is the same as an EDCA parameter used in the random backoff before the restricted service period starts.

[0183] FIG. 8 is a schematic flowchart of another communication method according to an embodiment of this application. The following uses a STA as an example to describe the method. 30 However, it should be understood that the method is not limited to execution by the STA, and may also be executed by an AP. The STA described in this specification includes apparatuses / devices in various forms on a STA side, and the AP includes various apparatuses / devices in various forms on an AP side. As shown in FIG. 8, the communication method includes but is not limited to the following steps. 35

[0184] S801: The STA obtains a TXOP before a restricted service period arrives. 2025201318   24 Feb 2025

[0185] The STA may obtain the TXOP before the restricted service period arrives. Services transmitted by using the TXOP may include a low-latency service, a non-low-latency service, an exception service, and the like.

[0186] S802: If a second condition is met, the STA does not end the TXOP before the restricted 5 service period arrives.

[0187] The second condition includes one or more of the following exception conditions:

[0188] Exception condition (1): The TXOP is used to transmit a data frame of a first service.

[0189] Exception condition (2): A transmission time for transmitting a service in the TXOP is less than or equal to a first threshold. 10

[0190] Exception condition (3): The restricted service period is a time period used for D2D transmission.

[0191] The restricted service period is a period of time, and the AP and the STA are only used to serve the low-latency service in this period of time. Optionally, the restricted service period may be referred to as an R-SP (restricted service period, R-SP), or may be referred to as a restricted 15 TWT SP (restricted TWT SP). It may be understood that the restricted service period may alternatively have another name. This is not limited in this embodiment of this application.

[0192] The STA skips ending the TXOP before the restricted service period arrives, which may be understood as that the STA does not need to end its TXOP before the restricted service period arrives, that the STA does not end the TXOP before the restricted service period arrives, or that the 20 STA continues the current service transmission when the restricted service period arrives.

[0193] It may be understood that, to ensure that restricted service periods of a plurality of cells do not affect each other, the AP may send a parameter value of a restricted service period of the AP to another AP. When setting a parameter value of a restricted service period for the another AP, it needs to ensure that the restricted service periods of the plurality of APs does not overlap. 25

[0194] The following separately describes the second condition in detail. It should be understood that the second condition includes but is not limited to the foregoing three exception conditions.

[0195] For the exception condition (1):

[0196] If the TXOP obtained by the STA before the restricted service period arrives is the data 30 frame used to transmit the first service, the STA does not end the TXOP before the restricted service period arrives.

[0197] The first service may be a low-latency service, or may be an exception service.

[0198] When the first service is the low-latency service, specifically, the low-latency service may be a service whose access class of the service is higher 35 than or equal to some specific access categories (threshold access categories of the low-latency 2025201318   24 Feb 2025 service), or may be a service whose service identifiers are some specific identifiers (preset service identifiers of the low-latency service). It may be understood that the low-latency service may be a service whose priority corresponding to an access class of the service is higher than or equal to priorities corresponding to some specific access categories (threshold access categories of the low-5 latency service), or may be a service whose service identifiers are some specific identifiers (preset service identifiers of the low-latency service). The threshold access class of the low-latency service or the preset service identifier of the low-latency service may be sent by the AP to the STA, for example, carried in a TWT element or in an EHT operation element for sending. The threshold access class of the low-latency service or the preset service identifier of the low-latency service 10 may also be specified in a standard. For example, AC = AC_VO or AC = AC_VI; or TID = 0 or 1. Optionally, the service identifier may be a specific service identifier name, or may be a specific value.

[0199] If the threshold access class of the low-latency service or the preset service identifier of the low-latency service is sent by the AP to the STA, the STA may receive a sixth frame that is 15 sent by the AP and that carries the TWT element or the EHT operation element. The sixth frame may be a beacon frame (beacon), or may be a TWT response frame.

[0200] The threshold access class of the low-latency service or the preset service identifier of the low-latency service may be determined by using the broadcast TWT recommendation (broadcast TWT recommendation) field in the TWT element shown in FIG. 6A or the threshold 20 access class or the preset service identifier field in the EHT operation element shown in FIG. 6B. Alternatively, the threshold access class of the low-latency service or the preset service identifier of the low-latency service may be determined by the low-latency (low latency) field in the TWT element shown in FIG. 7. For a specific implementation, refer to the specific description in the foregoing condition (2). To avoid repetition, details are not described herein again. When the 25 TXOP obtained by the STA before the restricted service period arrives is a data frame used to transmit the low-latency service, the exception condition (1) is met, and the STA does not end the TXOP before the restricted service period arrives.

[0201] When the first service is the exception service, specifically, the exception service may be a same service as the low-latency service, or may be a 30 service different from the low-latency service. If the exception service is the service different from the low-latency service, the exception service may be a service whose access class of the service is higher than or equal to a threshold access class of the exception service, or a service whose service identifier is a preset service identifier of the exception service. It may be understood that the exception service may be a service whose priority corresponding to an access class of the 35 service is higher than or equal to a threshold access class of the exception service, or may be a 2025201318   24 Feb 2025 service whose service identifier is a preset service identifier of the exception service. The threshold access class of the exception service or the preset service identifier of the exception service may be sent by the AP to the STA, for example, carried in a TWT element or in an EHT operation element for sending. The threshold access class of the exception service or the preset service 5 identifier of the exception service may also be specified in a standard. Optionally, the service identifier may be a specific service identifier name, or may be a specific value.

[0202] If the threshold access class of the exception service or the preset service identifier of the exception service is sent by the AP to the STA, the STA may receive a seventh frame that is sent by the AP and that carries the TWT element or the EHT operation element. The seventh frame 10   may be a beacon frame (beacon), or may be a TWT response frame.

[0203] FIG. 9A is a schematic diagram of a frame structure of still another TWT element according to an embodiment of this application. As shown in FIG. 9A, the TWT element may include an element identifier (element ID) field, a length (length) field, a control (control) field, and a TWT parameter information (TWT parameter information) field. The TWT parameter 15 information (TWT parameter information) field may include a request type (request type) subfield, a target wake time (target wake time) subfield, a nominal minimum TWT wake duration (nominal minimum TWT wake duration) subfield, a TWT wake interval mantissa (TWT wake interval mantissa) subfield, and a broadcast TWT information (broadcast TWT Info) subfield. The broadcast TWT information (broadcast TWT Info) subfield may include an exception access class 20 (or an exception service identifier) (exception AC (or exception TID)) subfield.

[0204] FIG. 9B is a schematic diagram of a frame structure of still another EHT operation element according to an embodiment of this application. As shown in FIG. 9B, the EHT operation element may include an exception access class (or an exception service identifier) (exception AC (or exception TID)) field. 25

[0205] A threshold access class of an exception service or a preset service identifier of an exception service may be determined by the exception access class (or the exception service identifier) (exception AC (or exception TID)) field in the TWT element shown in FIG. 9A or the EHT operation element shown in FIG. 9B.

[0206] When an access class corresponding to the data frame used to be transmitted by using 30 the TXOP obtained by the STA before the restricted service period arrives is higher than or equal to the threshold access class of the exception service or the preset service of the exception service indicated by the exception access class (or exception service identifier) (exception AC (or exception TID)) field, that is, the exception condition (1) is met, the STA does not end its TXOP before the restricted service period arrives. 35

[0207] For the exception condition (2): 2025201318   24 Feb 2025

[0208] If the STA obtains the TXOP before the restricted service period arrives, and the transmission time for transmitting the service in the TXOP is less than or equal to the first threshold, the TA does not end the TXOP before the restricted service period arrives.

[0209] The first threshold may be sent by the AP to the STA, for example, carried in a TWT 5 element or an EHT operation element. Alternatively, the first threshold may be specified in a standard. For example, the first threshold may be 1 ms (millisecond), 100 ps (microsecond), or the like.

[0210] If the preset time period is sent by the AP to the STA, the STA may receive a fifth frame that is sent by the AP and that carries the TWT element or the EHT operation element. The fifth 10 frame may be a beacon frame (beacon), or may be a TWT response frame. A field in the TWT element or the EHT operation element may indicate the first threshold.

[0211] For the exception condition (3):

[0212] The restricted service period may be a time period for serving low-latency service communication between the AP and the STA, or may be a time period of service communication 15 between D2Ds. D2D is service transmission between STAs, and D2D may also be referred to as a peer to peer (peer to peer). When the restricted service period is the time period used for D2D transmission, that is, the exception condition (3) is met, the STA does not end the TXOP before the restricted service period arrives.

[0213] When one or more exception conditions in the second condition are met, the STA may 20 perform any one or more of the following actions:

[0214] Action 1: The STA can ignore the restricted service period. It may be understood that when the restricted service period arrives, the STA may not terminate transmission of the current TXOP of the STA until transmission of the TXOP is completed. Optionally, transmission of the TXOP may end after a start time of the restricted service period. 25

[0215] Action 2: When the restricted service period arrives, if the transmission time for transmitting the service in the TXOP is greater than a second threshold, the STA ends the TXOP. Specifically, when the restricted service period arrives, the STA may continue transmission only for a period of time, but cannot exceed the second threshold. The second threshold may be a value specified in a standard, or may be sent by the AP to the STA, for example, carried in the TWT 30 element or the EHT operation element for sending.

[0216] Optionally, the second threshold may be equal to the first threshold, that is, the STA ends the TXOP only after transmission of the current service of the TXOP is completed.

[0217] Action 3: When the restricted service period arrives, the STA continues to transmit at most one PPDU in the TXOP. 35

[0218] Optionally, when the second condition is met, because a part of the restricted service 2025201318   24 Feb 2025 period is occupied by another node, the AP may send an eighth frame to the STA, and the eighth frame indicates to extend the restricted service period. The eighth frame may be one type of an EHT action frame. FIG. 10 is a schematic diagram of another frame structure according to an embodiment of this application. As shown in FIG. 10, an EHT action frame may include a frame 5 control (frame control) field, a duration (duration) field, a receiver address (Receiver address, RA) field, a transmitter address (sending address, TA), field, a basic service set identifier (BSS ID) field, a sequence control (sequence control) field, a high throughput control (HT control) field, a frame body (frame body) field, and a frame check sequence (frame check sequence, FCS) field. The frame body (frame body) field includes a category (category) subfield, an extremely high 10 throughput action (EHT action) subfield, and an extra restricted service period duration (extra restricted SP duration) subfield. A value of the extra restricted service period duration (extra restricted SP duration) subfield may indicate extended duration of the restricted service period. For example, when the value of the extra restricted service period duration (extra restricted SP duration) subfield is 10, it may indicate that the restricted service period is extended by 10 ms 15 (millisecond).

[0219] The foregoing content describes in detail the methods provided in this application. To better implement the foregoing solutions in embodiments of this application, embodiments of this application further provide corresponding apparatuses.

[0220] In embodiments of this application, the communication apparatus may be divided into 20 functional modules based on the foregoing method examples. For example, each functional module may be obtained through division based on each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module. It should be noted that, in embodiments of this application, module division is an example, and is merely a logical 25 function division. In actual implementation, another division manner may be used.

[0221] When an integrated unit is used, refer to FIG. 11. FIG. 11 is a schematic diagram of a structure of a first communication apparatus according to an embodiment of this application. The first communication apparatus may be a STA, or may be a module (for example, a chip) in the STA. As shown in FIG. 11, a first communication apparatus 1100 includes at least a processing 30 unit 1101 and a transceiver unit 1102.

[0222] The processing unit 1101 is configured to: if a first condition is met, determine that a restricted service period ends, where the first condition includes any one or more of the following: receiving a first frame, where the first frame indicates that the restricted service period ends; 35              receiving no second frame in a preset time period; and 2025201318   24 Feb 2025 receiving a frame for non-low-latency service communication in a local cell, where the local cell is a BSS to which the STA belongs.

[0223] In one embodiment, the first frame is an EHT action frame, and an EHT action field in the EHT action frame indicates that the restricted service period ends. 5

[0224] In an embodiment, the first communication apparatus 1100 further includes: the transceiver unit 1102 is configured to: when the first condition includes receiving no second frame in the preset time period, receive a third frame before the STA determines that the restricted service period ends, where the third frame carries a TWT element; and the preset time period is determined by a nominal minimum TWT wake duration field and a wake duration 10 unit field in the TWT element.

[0225] In an embodiment, the transceiver unit 1102 may be further configured to: when the first condition includes: receiving the frame for non-low-latency service communication in the local cell, receive a fourth frame before the STA determines that the restricted service period ends, where the fourth frame carries a TWT element. 15

[0226] The TWT element carries a threshold access class of a non-low-latency service or a preset service identifier of a non-low-latency service, and the non-low-latency service is a service whose access class of the service is lower than or equal to the threshold access class of the nonlow-latency service; or the non-low-latency service is a service whose service identifier is the preset service identifier of the non-low-latency service. 20

[0227] In an embodiment, the threshold access class of the non-low-latency service or the preset service identifier of the non-low-latency service is determined by using a broadcast TWT recommendation field in the TWT element.

[0228] In an embodiment, the processing unit 1101 may be further configured to initiate new channel access after determining that the restricted service period ends, or continue to perform 25 channel access that is suspended before the restricted service period.

[0229] For more detailed descriptions of the processing unit 1101 and the transceiver unit 1102, directly refer to related descriptions of the STA in the method embodiment shown in FIG. 3. Details are not described herein.

[0230] FIG. 12 is a schematic diagram of a structure of a second communication apparatus 30 according to an embodiment of this application. The second communication apparatus may be a STA, or may be a module (for example, a chip) in the STA. As shown in FIG. 12, a second communication apparatus 1200 includes at least a processing unit 1201 and a transceiver unit 1202.

[0231] The processing unit 1201 is configured to obtain a TXOP before a restricted service period arrives. 35

[0232] The processing unit 1201 is further configured to: if a second condition is met, skip 2025201318   24 Feb 2025 ending the TXOP before the restricted service period arrives, where the second condition includes any one or more of the following: the TXOP is used to transmit a data frame of a first service; a transmission time for transmitting a service in the TXOP is less than or equal to a first 5 threshold; and the restricted service period is a time period used for D2D transmission.

[0233] In an embodiment, the second communication apparatus 1200 further includes: the transceiver unit 1202 is configured to: when the second condition includes that the transmission time for transmitting the service in the TXOP is less than or equal to the first threshold, 10 before the skipping ending the TXOP before the restricted service period arrives, receive a fifth frame, where the fifth frame carries a TWT element, and the TWT element carries the first threshold.

[0234] In an embodiment, the first service is a low-latency service. The transceiver unit 1202 may be further configured to: 15              when the second condition includes that the TXOP is used to transmit the data frame of the first service, before the skipping ending the TXOP before the restricted service period arrives, receive a sixth frame, where the sixth frame carries a TWT element. The TWT element carries a threshold access class of a low-latency service or a preset service identifier of a low-latency service, and the low-latency service is a service whose access class of the service is higher than or equal to 20 the threshold access class of the low-latency service; or the low-latency service is a service whose service identifier is the preset service identifier of the low-latency service.

[0235] In an embodiment, the threshold access class of the low-latency service or the preset service identifier of the low-latency service is determined by using a broadcast TWT recommendation field in the TWT element. 25

[0236] In an embodiment, the first service is an exception service. The transceiver unit 1202 is further configured to: when the second condition includes that the TXOP is used to transmit the data frame of the first service, before the skipping ending the TXOP before the restricted service period arrives, receive a seventh frame, where the seventh frame carries a TWT element. The TWT element 30 carries a threshold access class of the exception service or a preset service identifier of the exception service, and the exception service is a service whose access class of the service is higher than or equal to the threshold access class of the exception service; or the exception service is a service whose service identifier is the preset service identifier of the exception service.

[0237] In an embodiment, the threshold access class of the exception service or the preset 35 service identifier of the exception service is determined by an exception access class field in the 2025201318   24 Feb 2025 TWT element.

[0238] In an embodiment, the processing unit 1201 may be further configured to: when the restricted service period arrives, when the transmission time for transmitting the service in the TXOP is greater than a second threshold, end the TXOP. 5

[0239] In an embodiment, the processing unit 1201 may be further configured to: when the restricted service period arrives, at most one PPDU continues to be transmitted in the TXOP.

[0240] In an embodiment, the transceiver unit 1202 may be further configured to: receive an eighth frame, where the eighth frame indicates to extend the restricted 10 service period.

[0241] For more detailed descriptions of the processing unit 1201 and the transceiver unit 1202, directly refer to related descriptions of the STA in the method embodiment shown in FIG. 8. Details are not described herein.

[0242] The foregoing describes the first communication apparatus and the second 15 communication apparatus in embodiments of this application. The following describes possible product forms of the first communication apparatus and the second communication apparatus. It should be understood that any form of product having the features of the first communication apparatus in FIG. 11 and any form of product having the features of the second communication apparatus in FIG. 12 fall in the protection scope of this application. It should be further understood 20 that the following description is merely an example, and a product form of the first communication apparatus and a product form of the second communication apparatus in embodiments of this application are not limited thereto.

[0243] In a possible product form, the first communication apparatus and the second communication apparatus in embodiments of this application may be implemented by using a 25 general bus architecture.

[0244] The first communication apparatus includes a processor. Optionally, the first communication apparatus further includes a transceiver that communicates with the processor. The processor is configured to: if a first condition is met, determine that a restricted service period ends, where the first condition includes any one or more of the following: receiving a first frame, where 30 the first frame indicates that the restricted service period ends; receiving no second frame in a preset time period; and receiving a frame for non-low-latency service communication in a local cell, where the local cell is a BSS to which the STA belongs. Optionally, the first communication apparatus may further include a memory. The memory is configured to store instructions to be executed by the processor. 35

[0245] The second communication apparatus includes a processor. Optionally, the second 2025201318   24 Feb 2025 communication apparatus further includes a transceiver that communicates with the processor. The processor is configured to obtain a TXOP before a restricted service period arrives; and the processing unit is further configured to: if a second condition is met, skip ending the TXOP before the restricted service period arrives, where the second condition includes any one or more of the 5 following: the TXOP is used to transmit a data frame of a first service; a transmission time for transmitting a service in the TXOP is less than or equal to a first threshold; and the restricted service period is a time period used for D2D transmission. Optionally, the second communication apparatus may further include a memory. The memory is configured to store instructions to be executed by the processor. 10

[0246] In a possible product form, the first communication apparatus and the second communication apparatus in embodiments of this application may be implemented by using a chip.

[0247] A chip implementing the first communication apparatus includes a processing circuit. Optionally, the chip further includes an output interface for internal communication with the processing circuit. The processing circuit is configured to: if a first condition is met, determine 15 that a restricted service period ends, where the first condition includes any one or more of the following: receiving a first frame, where the first frame indicates that the restricted service period ends; receiving no second frame in a preset time period; and receiving a frame for non-low-latency service communication in a local cell, where the local cell is a BSS to which the STA belongs. Optionally, the chip may further include a storage medium, and the storage medium is configured 20 to store instructions executed by the processing circuit.

[0248] A chip implementing the second communication apparatus includes a processing circuit. Optionally, the chip further includes an output interface for internal communication with the processing circuit. The processing circuit is configured to obtain a TXOP before a restricted service period arrives; and the processing circuit is further configured to: if a second condition is met, skip 25 ending the TXOP before the restricted service period arrives, where the second condition includes any one or more of the following: the TXOP is used to transmit a data frame of a first service; a transmission time for transmitting a service in the TXOP is less than or equal to a first threshold; and the restricted service period is a time period used for D2D transmission. Optionally, the second communication apparatus may further include a memory. The memory is configured to store 30 instructions to be executed by the processor. Optionally, the chip may further include a storage medium, and the storage medium is configured to store instructions executed by the processing circuit.

[0249] Alternatively, as a possible product form, the first communication apparatus and the second communication apparatus described in this embodiment of this application may further be 35 implemented by using the following components: one or more FPGAs (field programmable gate 2025201318   24 Feb 2025 arrays), a PLD (programmable logic device), a controller, a state machine, gate logic, a discrete hardware component, any other suitable circuit, or any combination of circuits that can perform various functions described in this application.

[0250] It should be understood that the first communication apparatus and the second 5 communication apparatus in the foregoing product forms have any function of the first communication apparatus and the second communication apparatus in the foregoing method embodiment, and details are not described herein again.

[0251] An embodiment of this application further provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are run 10 on a computer, the computer is enabled to perform the method according to any one of the foregoing embodiments.

[0252] An embodiment of this application further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to perform the method in any one of the foregoing embodiments. 15

[0253] An embodiment of this application further provides a communication apparatus. The apparatus may exist in a product form of a chip. A structure of the apparatus includes a processor and an interface circuit. The processor is configured to communicate with another apparatus through the interface circuit, to enable the apparatus to perform the method in any one of the foregoing embodiments. 20

[0254] Method or algorithm steps described in combination with the content disclosed in this application may be implemented by hardware, or may be implemented by a processor by executing software instructions. The software instructions may include a corresponding software module. The software module may be stored in a random access memory (Random Access Memory, RAM), a flash memory, an erasable programmable read-only memory (Erasable Programmable ROM, 25 EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), a register, a hard disk, a removable hard disk, a compact disc read-only memory (CD-ROM), or any other form of storage medium well-known in the art. For example, a storage medium is coupled to a processor, so that the processor can read information from the storage medium and write information into the storage medium. Certainly, the storage medium may be a component of 30 the processor. The processor and the storage medium may be disposed in an ASIC. In addition, the ASIC may be located in a core network interface device. Certainly, the processor and the storage medium may exist in the core network interface device as discrete components.

[0255] A person skilled in the art should be aware that in the foregoing one or more examples, functions described in this application may be implemented by hardware, software, firmware, or 35 any combination thereof. When the functions are implemented by software, the foregoing 2025201318   24 Feb 2025 functions may be stored in a computer-readable medium or transmitted as one or more instructions or code in a computer-readable medium. The computer-readable medium includes a computer-readable storage medium and a communication medium. The communication medium includes any medium that facilitates transmission of a computer program from one place to another. The 5 storage medium may be any available medium accessible to a general-purpose or a dedicated computer.

[0256] In the foregoing specific implementations, the objectives, technical solutions, and beneficial effects of this application are further described in detail. It should be understood that the foregoing descriptions are merely specific implementations of this application, but are not intended 10 to limit the protection scope of this application. Any modification, equivalent replacement, improvement, or the like made based on the technical solutions of this application shall fall within the protection scope of this application.

[0257] Unless the context requires otherwise, where the terms “comprise”, “comprises”, “comprised” or “comprising” are used in this specification (including the claims) they are to be 15 interpreted as specifying the presence of the stated features, integers, steps or components, but not precluding the presence of one or more other features, integers, steps or components, or group thereof.

Claims

2025201318   29 Sep 20261. A communication method, comprising:obtaining, by an access point (AP), a transmit opportunity (TXOP) before a restricted service period arrives, wherein the restricted service period is a period of time, and wherein the period of 5 time services a low-latency service; andbased on determining that the TXOP is used for a transmission of a frame that carries a target wake time (TWT) element indicating the low-latency service, continuing, by the AP, the TXOP when the restricted service period arrives.0        2. The method according to claim 1, wherein the low-latency service is a service with a presettraffic identifier.

3. The method according to claim 2, wherein the preset traffic identifier is comprised in a target wake time (TWT) element.

154. The method according to claim 1, further comprising sending, by the AP, the frame that carries the TWT element, wherein the TWT carries an indication of the low-latency service, wherein the indication of the low latency service is one of a threshold access class or a preset service identifier.

205. The method according to claim 4, wherein the TWT element comprises one or more of: an element identifier field, a length field, a control field, and a TWT parameter information field.

6. The method according to claim 5, wherein the TWT parameter information field comprises25 one or more of: a request type subfield, a target wake time subfield, a nominal minimum TWT wake duration subfield, a TWT wake interval mantissa subfield, and a broadcast TWT information subfield.

7. The method according to claim 6, wherein the broadcast TWT information subfield30 comprises one or more of: an exception access class subfield of an exception service identifiersubfield.

8. A communication apparatus, wherein the apparatus is applied to an access point (AP), comprises:2025201318   29 Sep 2026a processor, configured to obtain a transmit opportunity (TXOP) before a restricted service period arrives, wherein the restricted service period is a period of time, and wherein the period of time services a low-latency service; andbased on determining that the TXOP is used for a transmission of a frame that carries a target wake time (TWT) element indicating the low-latency service, continuing the TXOP when the restricted service period arrives.

9. The communication apparatus according to claim 8, wherein the low-latency service is a service with a preset traffic identifier.

10. The communication apparatus according to claim 9, wherein the preset traffic identifier is comprised in a target wake time (TWT) element.

11. The communication apparatus according to claim 8, wherein the processor, further configured to:send the frame that carries the TWT element, wherein the TWT carries an indication of the low-latency service, wherein the indication of the low latency service is one of a threshold access class or a preset service identifier.

12. The communication apparatus according to claim 11, wherein the TWT element comprises one or more of: an element identifier field, a length field, a control field, and a TWT parameter information field.

13. The communication apparatus according to claim 12, wherein the TWT parameter information field comprises one or more of: a request type subfield, a target wake time subfield, a nominal minimum TWT wake duration subfield, a TWT wake interval mantissa subfield, and a broadcast TWT information subfield.

14. The communication apparatus according to claim 13, wherein the broadcast TWT information subfield comprises one or more of: an exception access class subfield of an exception service identifier subfield.

15. A computer-readable storage medium, wherein the computer-readable storage medium stores program instructions, and when the program instructions are run on a computer, the computer is enabled to perform the method according to any one of claims 1 to 7.2025201318   29 Sep 202616. A computer program product comprising program instructions, wherein when the program instructions are run on a computer, the computer is enabled to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Limited TWT operation which has been improved

    WO2022103169A1