Data packet transmission method, terminal equipment and readable storage medium
By prioritizing data packets with higher access categories and optimizing backoff times, the method ensures timely delivery of VR and AR services, addressing transmission delays and enhancing user experience.
Patent Information
- Application Number
- CN202310694002.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-12
- Publication Date
- 2024-12-17
AI Technical Summary
The IEEE 802.11e protocol's access categories fail to adequately prioritize data packets for VR services when combined with traditional voice services, leading to transmission delays that degrade user experience.
A method for transmitting data packets with higher priority access categories, adjusting backoff times based on channel occupancy, and employing queue management to ensure timely delivery of delay-sensitive services like VR and AR.
Improves the chances of channel access for delay-sensitive services, reducing transmission delays and enhancing user experience by optimizing backoff times and queue handling.
Smart Images

Figure CN119155634A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a method for transmitting a data packet, a terminal device, and a readable storage medium. Background Art
[0002] The Institute of Electrical and Electronics Engineers (IEEE) 802.11e protocol provides four access categories (AC) for random access of terminal devices, which are voice service (AC_VO), video service (AC_VI), best-effort (AC_BE) and background traffic (AC_BK) in descending order of priority. The access categories corresponding to games, virtual reality (VR) or augmented reality (AR) services belong to the above access categories. In one implementation, the access category of VR service is video service, and the access category of traditional voice service is voice service. When a user performs VR service and traditional voice service at the same time, the possibility of VR service competing for the channel in a competitive random access scenario is small, which may cause the actual transmission delay of VR service data packets to fail to meet the requirements, affecting the user's experience of VR service. Summary of the invention
[0003] The present application provides a method for transmitting a data packet, a terminal device, and a readable storage medium. The solution provided by the present application can improve the possibility of the first device competing for a channel when the first device transmits a data packet with high transmission delay requirements and low transmission rate requirements, so that the actual transmission delay of such data packets meets the requirements and improves the user experience.
[0004] In order to achieve the above objectives, this application adopts the following technical solutions:
[0005] In a first aspect, a method for transmitting a data packet is provided. The method includes: a first device generates a first data packet when the data to be transmitted belongs to a first service, the first data packet includes the data to be transmitted and a first field, the first field is used to indicate that the access category corresponding to the first data packet is the first access category, the priority of the first access category is higher than the voice service, the first access category is determined based on the first service, and the correspondence between multiple services and multiple access categories, the first service requires that the transmission delay is lower than or equal to a first threshold, and the transmission rate is lower than or equal to a second threshold; the first device sends the first data packet to the second device based on the backoff parameter of the first access category.
[0006] The solution provided in the present application can compete for channels based on a first access category with a higher priority than voice services when the first device transmits data packets of a first service that is highly sensitive to transmission delay and not very sensitive to transmission rate, thereby improving the possibility of the first device competing for a channel in a competitive random access scenario, so that the actual transmission delay of the data packets of the first service meets the requirements and improves the user experience.
[0007] In some possible implementations, the method also includes: the first device detects the target channel, determines the number of third devices that transmit data packets according to the first access category, and the third devices do not include the first device and the second device; when the number of third devices is 0, the first device sends the first data packet to the second device according to the first backoff time of the first access category, and the above backoff parameters include the first backoff time; when the number of third devices is greater than 0 and less than or equal to a third threshold, the first device sends the first data packet to the second device according to the second backoff time of the first access category, and the above backoff parameters include the second backoff time.
[0008] Based on the above scheme, when the number of third devices determined by the first device detecting the target channel is different, the backoff time used by the first device is different, that is, the first device can select an appropriate backoff time for random access according to the specific usage of the target channel, which is more flexible.
[0009] In some possible implementations, the first backoff time is determined based on a first minimum contention window value, a first maximum contention window value, and a first arbitration frame gap number, wherein the value range of the first minimum contention window is [0, (aCWmin+1) / 8-1), the value range of the first maximum contention window is [0, (aCWmin+1) / 4-1), the value of the first maximum contention window is greater than or equal to the first minimum contention window, the first arbitration frame gap number is less than or equal to 2, and aCWmin represents the number of time slots.
[0010] Based on the above scheme, when the first device detects the target channel and determines that there is no third device, the random backoff time can take a smaller value, such as 0, that is, the first device performs random access according to a smaller backoff time, reducing the waiting time for random access of the first device, so as to reduce the transmission delay of the first data packet.
[0011] In some possible implementations, the second backoff time is determined based on the second minimum contention window value, the second maximum contention window value and the second arbitration frame gap number, wherein the value range of the second minimum contention window is [(aCWmin+1) / 8-1, (aCWmin+1) / 4-1), the value range of the second maximum contention window is ((aCWmin+1) / 8-1, (aCWmin+1) / 4-1], the value of the second maximum contention window is greater than the second minimum contention window, the second arbitration frame gap number is less than or equal to 2, and aCWmin represents the number of time slots.
[0012] In some possible implementations, the method also includes: the first device detects the target channel, determines the number of third devices that transmit data packets according to the first access category, and the third devices do not include the first device and the second device; when the number of third devices is less than or equal to a third threshold, the first device sends the first data packet to the second device based on the backoff parameters of the first access category, including: the first device sends the first data packet to the second device according to the third backoff time of the first access category, and the backoff parameters include the third backoff time.
[0013] Based on the above solution, when the number of third devices determined by the first device detecting the target channel is less than the third threshold, the first device uses a unified backoff time to transmit the first data packet, which can reduce the complexity of the execution of the first device.
[0014] In some possible implementations, the third backoff time is determined based on a third minimum contention window value, a third maximum contention window value, and a third arbitration frame gap number, wherein the value range of the third minimum contention window is [0, (aCWmin+1) / 8-1], the value range of the third maximum contention window is (0, (aCWmin+1) / 4-1], the value of the third maximum contention window is greater than the third minimum contention window, the third arbitration frame gap number is less than or equal to 2, and aCWmin represents the number of time slots.
[0015] In some possible implementations, when the transmission of the first data packet fails, the method further includes: the first device monitors the target channel; when the target channel is in a non-busy state, the first device retransmits the first data packet to the second device with a fourth backoff time, and the fourth backoff time is determined according to the point coordination function inter-frame space (PIFS).
[0016] Based on the above solution, compared with the solution of increasing the backoff time for retransmission after the transmission of the first data packet fails, the backoff time for random access of the first device is reduced, and the transmission delay of the first data packet can be reduced.
[0017] In some possible implementations, when the number of retransmissions of the first data packet is greater than or equal to a fourth threshold and the transmission of the first data packet fails, the method further includes: the first device sends a request to send frame to the fourth device, the request to send frame is used to request to retransmit the first data packet again, and the fourth device provides access service for the first device; the first device receives a permission to send frame from the fourth device, the permission to send frame includes identification information of the first device and time domain resources for retransmitting the first data packet; the first device retransmits the first data packet to the second device on the time domain resources.
[0018] Based on the above scheme, when the first data packet fails to be transmitted after multiple retransmissions, the problem of hidden terminals needs to be considered, that is, a request to send frame can be used to avoid the influence of hidden terminals on the retransmission of the first data packet, so as to improve the success rate of the retransmission of the first data packet.
[0019] In some possible implementations, the method also includes: the first device obtains a beacon frame, the beacon frame includes information indicating the sending time and sending period of the beacon frame; the first device retransmits the first data packet to the second device with PIFS as the backoff time, including: the first device retransmits the first data packet to the second device based on the beacon frame.
[0020] Based on the above scheme, when the backoff time for retransmission of the first data packet is the same as the backoff time for the beacon frame, the sending timestamp and sending period of the beacon frame can be obtained to determine the specific time for the next beacon frame to be sent, so that the beacon frame can be avoided when the first data packet is retransmitted again, thereby reducing collisions and improving the reliability of retransmission of the first data packet.
[0021] In some possible implementations, a first device sends a first data packet to a second device based on a backoff parameter of a first access category, including: the first device sends a data packet in a first queue to the second device based on the backoff parameter of the first access category, the first queue includes the first data packet and at least one other data packet belonging to the first service, and the first queue is associated with the first access category, and any two data packets in the first queue correspond to different medium access control service data units (MACservice data unit, MSDU).
[0022] Based on the above scheme, after the data packets of the first queue are processed at the media access control (MAC) layer of the first device, each data packet corresponds to a different MSDU, that is, the data packets of the first queue are not aggregated at the MAC layer, which can reduce the waiting time due to aggregation and also reduce the problem of affecting data packet transmission due to changes in channel estimation caused by aggregation.
[0023] In some possible implementations, a first device sends a first data packet to a second device based on a backoff parameter of a first access category, including: the first device sends a data packet in a first queue to the second device based on the backoff parameter of the first access category, the first queue includes the first data packet and at least one other data packet belonging to the first service, and the first queue is associated with the first access category, and any two data packets in the first queue correspond to different media access control protocol data units (MACprotocol data unit, MPDU).
[0024] Based on the above scheme, after the data packets of the first queue are processed at the physical (PHY) layer of the first device, each data packet corresponds to a different MPDU, that is, the data packets of the first queue are not aggregated at the PHY layer, which can reduce the waiting time due to aggregation and also reduce the problem of affecting data packet transmission due to changes in channel estimation caused by aggregation.
[0025] In some possible implementations, the first device sends a first data packet to the second device based on a backoff parameter of a first access category, including: the first device sends the first data packet to the second device based on the backoff parameter of the first access category and a first modulation and coding scheme (MCS), and the index value of the first MCS is less than or equal to a fifth threshold.
[0026] Based on the above solution, since the first data packet does not require a high transmission rate, the MCS can be limited during the transmission of such data packet, that is, the transmission rate can be reduced to improve the transmission reliability.
[0027] In some possible implementations, the method also includes: the first device detects the target channel, determines the number of third devices that transmit data packets according to the first access category, and the third devices do not include the first device and the second device; when the number of third devices is greater than a third threshold, the first device generates a first data packet, including: the first device generates a second data packet, the second data packet includes data to be sent and a second field, the second field is used to indicate that the access category corresponding to the second data packet is voice service; the first device sends the first data packet to the second device based on the backoff parameters of the first access category, including: the first device sends the second data packet to the second device based on the backoff parameters of the voice service.
[0028] Based on the above scheme, when the first device detects the target channel and determines that the number of third devices exceeds the third threshold, a lower priority access category (such as voice service) is used for random access to avoid the first device and the third device affecting each other's communication when both use high priority for random access.
[0029] In a second aspect, a device for transmitting a data packet is provided, comprising a unit or module for executing specific steps in the first aspect or any implementation manner of the first aspect.
[0030] In a third aspect, a terminal device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the steps of processing in the first aspect or any one of the implementations of the first aspect when executing the computer program.
[0031] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the steps of processing in the first aspect or any one of the implementations of the first aspect.
[0032] In a fifth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is executed by a terminal device, the terminal device executes the steps of processing in the first aspect or any one of the implementations of the first aspect.
[0033] Among them, the beneficial effects of the second to fifth aspects can refer to the first aspect and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a schematic diagram of the architecture of a mobile communication system applicable to an embodiment of the present application;
[0035] Figure 2 is a schematic diagram of backoff times of different ACs provided in an embodiment of the present application;
[0036] Figure 3 It is a flowchart of a method for transmitting a data packet provided in an embodiment of the present application;
[0037] Figure 4 It is a schematic diagram of backoff parameters for data packet retransmission provided in an embodiment of the present application;
[0038] Figure 5 is a structural block diagram of a communication device 500 provided in an embodiment of the present application;
[0039] Figure 6 It is a simplified schematic diagram of a communication device 600 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0041] In the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or its similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solution of the embodiment of the present application, in the embodiment of the present application, the words "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not necessarily limit the differences.
[0042] Figure 1 Schematic diagram of the architecture of a mobile communication system applicable to an embodiment of the present application. Figure 1 As shown, the communication system includes a wireless access network 100. The wireless access network 100 may include at least one access network device (such as Figure 1 110a and 110b in the figure, collectively referred to as 110), may also include at least one terminal device (such as Figure 1 The terminal devices 120a-120j are connected to the access network devices 110a and 110b by wireless means. The access network devices 110a and 110b are connected to the core network ( Figure 1 The core network device in the core network and the access network device in the wireless access network may be different physical devices, or may be the same physical device that integrates the core network logical functions and the wireless access network logical functions. Terminal devices may be connected to each other wirelessly. Access network devices may be connected to each other by wire or wirelessly. Figure 1 This is just a schematic diagram. The communication system may also include other network devices, for example, wireless relay devices and / or wireless backhaul devices ( Figure 1The communication system may, for example, support a cellular system related to the third generation partnership project (3GPP) (e.g., a fifth generation mobile communication technology (5G) communication system, a communication system integrating multiple wireless technologies (e.g., a communication system integrating at least two technologies among 2G, 3G, 4G, or 5G), or a future-oriented evolution system (e.g., a 6G access technology), or a wireless fidelity (WiFi) system, or a communication system integrating a cellular system related to 3GPP with other technologies, or a future communication system, etc.
[0043] The access network device in the embodiment of the present application is sometimes also referred to as an access node. The access network device has a wireless transceiver function and is used to communicate with a terminal device. The access network device includes but is not limited to a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next generation base station (next generation NodeB, gNB) in a 5G mobile communication system, a next generation base station in a sixth generation (6th generation, 6G) mobile communication system, a wireless access point (wireless access point, AP), an access network device or a module of an access network device in an open access network ORAN (open RAN, ORAN) system, a base station in a future mobile communication system or an access node in a WiFi system, a router, etc. The access network device may also be a module or unit that can implement some functions of a base station. For example, the access network device may be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU) described below. In the ORAN system, CU may also be referred to as O-CU, DU may also be referred to as open (open, O)-DU, CU-CP may also be referred to as O-CU-CP, CU-UP may also be referred to as O-CUP-UP, and RU may also be referred to as O-RU. The access network device may be a macro base station (such as Figure 1 110a), micro base station or indoor station (such as Figure 1110b), a relay node or a donor node, or a wireless controller in a cloud radio access network (CRAN) scenario. Optionally, the access network device may also be a server, a wearable device, or a vehicle-mounted device. For example, the access network device in the vehicle to everything (V2X) technology may be a road side unit (RSU). Multiple access network devices in a communication system may be base stations of the same type or base stations of different types. A base station may communicate with a terminal device or with a terminal device through a relay station. A terminal device may communicate with multiple base stations in different access technologies. The embodiments of the present application do not limit the specific technology and specific device form adopted by the access network device. In the present application, the access network device is referred to as a network device. Unless otherwise specified, in the present application, network devices refer to access network devices.
[0044] The terminal device may also be referred to as a terminal, user equipment (UE), mobile station, mobile terminal, etc. The terminal device can be widely used in various communication scenarios, for example, it can be applied to device-to-device (D2D) communication, vehicle to everything (V2X) communication, machine-type communication (MTC), Internet of Things (IOT), virtual reality, augmented reality, industrial control, automatic driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, or smart city and other scenarios. The terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a vehicle, a drone, a helicopter, an airplane, a ship, a robot, a robotic arm, a smart home device, or a station, etc. The embodiment of the present application does not limit the device form of the terminal device.
[0045] The access network equipment and / or the terminal equipment can be fixed or movable. The access network equipment and / or the terminal equipment can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on the water surface; they can also be deployed on airplanes, balloons and artificial satellites in the air. The embodiments of the present application do not limit the application scenarios of the access network equipment and the terminal equipment. The access network equipment and the terminal equipment can be deployed in the same scenario or different scenarios. For example, the access network equipment and the terminal equipment are deployed on land at the same time; or, the access network equipment is deployed on land and the terminal equipment is deployed on the water surface, etc., and examples are not given one by one.
[0046] In the embodiment of the present application, each element in the communication system can be regarded as a network element in the communication system. For example, Figure 1 The helicopter or drone 120i in the figure can be configured as a mobile access network device. For the terminal devices 120j that access the wireless access network 100 through 120i, the terminal device 120i is an access network device; but for the access network device 110a, 120i is a terminal device, that is, 110a and 120i communicate through the wireless air interface protocol. 110a and 120i can also communicate through the interface protocol between access network devices. At this time, relative to 110a, 120i is also an access network device. Therefore, access network devices and terminal devices can be collectively referred to as communication devices. Figure 1 110a and 110b in the figure may be referred to as communication devices having access network device functions. Figure 1 120a-120j in the figure can be called communication devices with terminal equipment functions.
[0047] In the embodiments of the present application, the communication device having the access network device function may be an access network device, or a module in the access network device (such as a chip, a chip system, or a software module, etc.), or a control subsystem including the access network device function. For example, the control subsystem including the access network device function may be a control center in scenarios where terminal devices may be applied, such as smart grid, industrial control, smart transportation, or smart city.
[0048] In the embodiment of the present application, the communication device having the terminal device function may be a terminal device, or a module in the terminal device (such as a chip, a chip system, a modem, or a software model, etc.), or a device including the terminal device function. In the embodiment of the present application, for ease of description, the following description is made by taking a base station or BS and a terminal device or UE as an example.
[0049] The communication between the access network device and the terminal device may follow a certain protocol layer structure. Exemplarily, the protocol layer structure may include a control plane protocol layer structure and a user plane protocol layer structure. For example, the control plane protocol layer structure may include at least one of the following: a radio resource control (RRC) layer, a packet data convergence protocol (PDCP) layer, a radio link control (RLC) layer, a media access control (MAC) layer, or a physical (PHY) layer. For example, the user plane protocol layer structure may include at least one of the following: a service data adaptation protocol (SDAP) layer, a PDCP layer, an RLC layer, a MAC layer, or a physical layer.
[0050] The access network device may include a CU and a DU. This design may be referred to as separation of CU and DU. Multiple DUs may be centrally controlled by one CU. As an example, the interface between the CU and the DU is referred to as the F1 interface. Among them, the control plane (CP) interface may be F1-C, and the user plane (UP) interface may be F1-U. The embodiments of the present application do not limit the specific names of the interfaces. The CU and the DU may be divided according to the protocol layers of the wireless network: for example, the functions of the PDCP layer and the protocol layers above (such as the RRC layer and the SDAP layer, etc.) are set in the CU, and the functions of the protocol layers below the PDCP layer (such as the RLC layer, the MAC layer, and the PHY layer, etc.) are set in the DU; for another example, the functions of the protocol layers above the PDCP layer are set in the CU, and the functions of the protocol layers at and below the PDCP layer are set in the DU, without limitation.
[0051] The above division of the processing functions of CU and DU according to the protocol layer is only an example, and the division can also be carried out in other ways. For example, the CU or DU can be divided into functions with more protocol layers, and the CU or DU can be divided into partial processing functions with protocol layers. For example, some functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in the CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in the DU. For another example, the functions of the CU or DU can be divided according to the service type or other system requirements, such as division by latency, and the functions whose processing time needs to meet the latency requirements are set in the DU, and the functions that do not need to meet the latency requirements are set in the CU.
[0052] Optionally, the CU may have one or more functions of the core network.
[0053] Optionally, the radio unit (RU) of the DU can be set remotely. The RU has a radio frequency function. Exemplarily, the DU and the RU can be divided at the PHY layer. For example, the DU can implement high-level functions in the PHY layer, and the RU can implement low-level functions in the PHY layer. When used for sending, the functions of the PHY layer may include at least one of the following: adding cyclic redundancy check (CRC) bits, channel coding, rate matching, scrambling, modulation, layer mapping, precoding, resource mapping, physical antenna mapping, or radio frequency transmission function. When used for receiving, the functions of the PHY layer may include at least one of the following: CRC check, channel decoding, rate matching, descrambling, demodulation, layer mapping, channel detection, resource demapping, physical antenna demapping, or radio frequency receiving function.
[0054] Optionally, the functions of the CU can be further divided, and the control plane and the user plane can be separated and implemented through different entities. The separated entities are the control plane CU entity (i.e., CU-CP entity) and the user plane CU entity (i.e., CU-UP entity). The CU-CP entity and the CU-UP entity can be connected to the DU respectively. In the embodiment of the present application, the entity can be understood as a module or a unit, and its existence can be a hardware structure, a software module, or a hardware structure plus a software module, without limitation.
[0055] Optionally, any one of the above-mentioned CU, CU-CP, CU-UP, DU and RU can be a software module, a hardware structure, or a software module plus a hardware structure, without limitation. Among them, the existence forms of different entities can be the same or different. For example, CU, CU-CP, CU-UP and DU are software modules, and RU is a hardware structure. For the sake of brevity, all possible combinations are not listed here one by one. These modules and their execution methods are also within the scope of protection of the embodiments of the present application. For example, when the method of the embodiment of the present application is executed by an access network device, it can be specifically executed by at least one of CU, CU-CP, CU-UP, DU, or RU.
[0056] To facilitate understanding of the embodiments of the present application, AC and other terms involved in the embodiments of the present application are briefly explained below.
[0057] 1. Voice service (AC_VO): Generally, it is the traffic type of voice transmission over IP (VoIP), which is most sensitive to transmission delay and is also the highest priority traffic provided by the current 802.11e protocol.
[0058] 2. Video service (video, AC_VI): Video service is also a delay-sensitive service. The priority of video traffic is second only to voice service and higher than best effort transmission and background traffic.
[0059] 3. Best-effort (AC_BE): The default wireless traffic type is best-effort, such as data traffic for web page access. This type of traffic has certain requirements for latency but is not so sensitive.
[0060] 4. Background traffic (AC_BK): traffic that is least sensitive to delay requirements, such as file transfer and print job traffic.
[0061] 5. Low latency traffic (AC_LL): Low latency traffic has a higher priority than voice service. It is a new AC proposed by this application based on the current 802.11e protocol, mainly for business traffic with high latency requirements and low transmission rate requirements. For example, if a certain business traffic requires the transmission latency to be lower than or equal to the first threshold, and the transmission rate to be lower than or equal to the second threshold, the terminal device uses the backoff parameters corresponding to AC_LL for random access when transmitting the data packet corresponding to the business. It can be understood that low latency traffic is a name given by this application for the convenience of description, and this application does not limit the name of this access category.
[0062] 6. Queue: It can be understood as a group of ordered quality-of-service (QoS) data packets (i.e. QoS data), which follow the first-in-first-out and first-come-first-served principles at the communication node.
[0063] Figure 2 It is a schematic diagram of the backoff time of different ACs provided in an embodiment of the present application.
[0064] like Figure 2As shown, when the medium is not in a busy state, different types of data transmission opportunities (TXOP) correspond to different backoff times. For information used for burst and response access, such as acknowledgment (ACK), block ACK (BA), clear to send (CTS), etc., the backoff time of such data is short inter-frame space (SIFS). For priority access data, such as beacon frames, the backoff time of such data is PIFS, and the duration of PIFS is the sum of the duration of SIFS and the duration of a slot. For legacy data, the backoff time includes a fixed backoff time and a random backoff time, wherein the fixed backoff time is a distributed inter-frame spacing (DIFS), and the random backoff time is backoff #1, which is less than the random backoff time corresponding to the voice service TXOP. The backoff time corresponding to the voice service TXOP includes a fixed backoff time arbitration inter-frame space (AIFS) (AC_VO) and a random backoff time backoff (AC_VO). The backoff time corresponding to the video service TXOP includes a fixed backoff time AIFS (AC_VI) and a random backoff time backoff (AC_VI). The backoff time corresponding to the best effort TXOP includes a fixed backoff time AIFS (AC_BE) and a random backoff time backoff (AC_BE). The backoff time corresponding to the background traffic TXOP includes a fixed backoff time AIFS (AC_BK) and a random backoff time backoff (AC_BK). The AIFS and random backoff time corresponding to different access categories can be determined based on the parameters of the corresponding access categories, and the random backoff time of different access categories can be determined according to Table 1. In addition, different services / access categories are configured with different transmission rates.
[0065] Table 1
[0066] AC CW CWmax AIFSN AC_BK wxya aCWmax 7 AC_BE wxya aCWmax 3 AC_VI (aCWmin+1) / 2-1 wxya 2 AC_VO (aCWmin+1) / 4-1 (aCWmin+1) / 2-1 2
[0067] Among them, CWmin is the minimum contention window, CWmax is the maximum contention window, and AIFSN is the arbitration inter frame spacing number. Taking access category AC_BK as an example, the value of the minimum contention window is aCWmin, the value of the maximum contention window is aCWmax, the value unit of the minimum / maximum contention window is the length of a time slot (aSlotTime), and aCWmin and aCWmax correspond to or represent the number of time slots. For example, aSlotTime is 9 microseconds (us), aCWmin=3 means that the length of the minimum contention window is 3*9=27us, aCWmax=7 means that the length of the maximum contention window is 7*9=63us, and "*" represents the multiplication symbol. The value range of aCWmin and aCWmax can be predefined, preconfigured or preset, and this application does not limit this.
[0068] The embodiment of the present application provides a method for transmitting a data packet, which is applied to a competitive random access scenario. The method 300 provided by the embodiment of the present application is introduced below. Figure 3 A schematic flow chart of method 300 is shown.
[0069] S301, a first device generates a first data packet when data to be sent belongs to a first service. The first data packet includes data to be sent and a first field. The first field is used to indicate that the access category corresponding to the first data packet is a first access category. The priority of the first access category is higher than that of the voice service. The first access category is determined based on the first service and the correspondence between multiple services and multiple access categories. The first service requires a transmission delay lower than or equal to a first threshold and a transmission rate lower than or equal to a second threshold.
[0070] Exemplarily, the first device is a terminal device or a network device, the second device is a terminal device or a network device, the first service is, for example, a game, VR or AR service, and the correspondence between multiple services and multiple access categories includes a correspondence between the first service and the first access category.
[0071] S302: The first device sends a first data packet to the second device based on a backoff parameter of a first access category; correspondingly, the second device receives the first data packet.
[0072] Exemplarily, the backoff parameter of the first access category includes a backoff time.
[0073] Optionally, before generating the first data packet, the method 300 further includes:
[0074] The first device determines that the data to be sent belongs to the first service.
[0075] Exemplarily, the first device determines whether the data to be sent belongs to the first service based on the target transmission delay and target transmission rate of the data to be sent. If the target transmission delay and target transmission rate of the data to be sent meet the requirements of the first service for transmission delay and transmission rate, then the data to be sent belongs to the first service.
[0076] Optionally, before the first device sends the first data packet, the method 300 further includes:
[0077] The first device detects the target channel and determines the number of third devices that transmit data packets according to the first access category, where the third devices do not include the first device and the second device.
[0078] Possible implementation mode #1: When the first device determines that the number of third devices is 0, the first device sends a first data packet to the second device according to a first backoff time of the first access category.
[0079] Optionally, the first backoff time is determined based on the first minimum contention window CWmin, the first maximum contention window CWmax and the first AIFSN, wherein the value range of the first CWmin is [0, (aCWmin+1) / 8-1), the value range of the first CWmax is [0, (aCWmin+1) / 4-1), the value of the first maximum contention window is greater than or equal to the first minimum contention window, the first AIFSN is less than or equal to 2, and aCWmin represents the number of time slots.
[0080] That is, 0≤first CWmin<(aCWmin+1) / 8-1, 0≤first CWmax<(aCWmin+1) / 4-1.
[0081] Exemplarily, the first CWmin and the first CWmax are 0, the first AIFSN is 2, and the first backoff time can be determined based on the first AIFSN+(first CWmin-first CWmax), that is, the first backoff time is a fixed backoff time: AIFS=first AIFSN*aSlotTime+aSIFSTime=2*aSlotTime+aSIFSTime=PIFS+1*aSlotTime. Or the first CWmin is 0, the first CWmax is (aCWmin+1) / 8-1, and the first AIFSN is 1 or 2; or the first CWmin is (aCWmin+1) / 16-1, the first CWmax is (aCWmin+1) / 8-1, and the first AIFSN is 1 or 2; or the first CWmin, the first CWmax and the first AIFSN have other values, which are not listed here.
[0082] In this example, when the first device detects the target channel and determines that there is no third device, it can compete for the channel according to a relatively short backoff time to ensure that the first data packet competes for the channel as soon as possible and is sent from the air interface.
[0083] Possible implementation mode #2: when the first device determines that the number of third devices is greater than 0 and less than or equal to a third threshold, the first device sends a first data packet to the second device according to the second backoff time of the first access category.
[0084] Optionally, the second backoff time is determined based on the second CWmin, the second CWmax and the second AIFSN, wherein the value range of the second CWmin is [(aCWmin+1) / 8-1, (aCWmin+1) / 4-1], the value range of the second CWmax is [(aCWmin+1) / 8-1, (aCWmin+1) / 4-1], the value of the second maximum contention window is greater than or equal to the second minimum contention window, and the second AIFSN is less than or equal to 2.
[0085] That is, (aCWmin+1) / 8-1≤second CWmin≤(aCWmin+1) / 4-1, (aCWmin+1) / 8-1≤second CWmax≤(aCWmin+1) / 4-1).
[0086] Exemplarily, the third threshold is 1 or 2, that is, when the first device detects the presence of a third device when detecting the target channel, and the number of the third device is less than the third threshold, in order to avoid collisions between the first device and the third device when transmitting data packets, affecting their respective communication efficiencies, the first device determines the second backoff time according to the following backoff parameters. The second CWmin value is (aCWmin+1) / 8-1, the second CWmax value is (aCWmin+1) / 4-1, and the second AIFSN is 1 or 2. The second backoff time can be determined based on the second AIFSN+(second CWmin-second CWmax), and the second CWmax-second CWmin≥4, in order to reduce the probability of collision when the first device communicates with the third device when transmitting the first data packet. Or there are other values for the second CWmin, the second CWmax and the second AIFSN, which are not listed here.
[0087] Possible implementation #3: The first device determines that the number of third devices is less than or equal to a third threshold, and the first device sends a first data packet to the second device according to a third backoff time of the first access category, where the backoff parameters include the third backoff time.
[0088] Optionally, the third backoff time is determined based on a third minimum contention window value, a third maximum contention window value and a third arbitration frame gap number, wherein the value range of the third minimum contention window is [0, (aCWmin+1) / 8-1], the value range of the third maximum contention window is [0, (aCWmin+1) / 4-1], the value of the third maximum contention window is greater than or equal to the third minimum contention window, the third arbitration frame gap number is less than or equal to 2, and aCWmin represents the number of time slots.
[0089] That is, 0≤third CWmin≤(aCWmin+1) / 8-1, 0≤third CWmax≤(aCWmin+1) / 4-1).
[0090] Exemplarily, the third threshold is 1 or 2, that is, when the first device detects the target channel and finds that the number of the third device is less than the third threshold, in order to avoid collision between the first device and the third device when transmitting data packets and affecting their respective communication efficiency, the first device determines the third backoff time according to the following backoff parameters. The third CWmin value is 0, the third CWmax value is (aCWmin+1) / 4-1, and the third AIFSN is 0, 1, or 2; or the third CWmin value is (aCWmin+1) / 8-1, the third CWmax value is (aCWmin+1) / 4-1, and the third AIFSN is 0, 1, or 2; or the third CWmin, the third CWmax, and the third AIFSN have other values, which are not listed here.
[0091] Possible implementation #4, when the first device determines that the number of third devices is greater than a third threshold, the first device generates a first data packet, including: the first device generates a second data packet, the second data packet includes data to be sent and a second field, the second field is used to indicate that the access category corresponding to the second data packet is a voice service. And in subsequent S302, the first device sends the second data packet to the second device based on the backoff parameter of the voice service.
[0092] Exemplarily, on the first device side, data packets corresponding to different access categories are placed in different queues, different queues correspond to different access categories, and data packets in the same queue have the same access category. When the first device transmits data packets, it transmits them in sequence according to the order of the data packets in the queues to which they belong. When the first device detects the target channel and finds that the number of third devices is greater than 1, in order to avoid the first device and all third devices transmitting data packets through the highest priority access category, resulting in no advantage in the priority of the access category, the first device and the third devices affect each other's transmission efficiency. Based on this, the first device can generate a second data packet from the data to be sent, place the second data packet in a queue corresponding to the access category of voice service, and transmit the second data packet based on the priority of the voice service.
[0093] Based on method 300, when the first device transmits a data packet of a first service that is highly sensitive to transmission delay and not very sensitive to transmission rate, it can compete for a channel based on a first access category with a higher priority than a voice service, thereby increasing the possibility of the first device competing for a channel in a competitive random access scenario, so that the actual transmission delay of the data packet of the first service meets the requirements and improves the user experience.
[0094] Figure 4 It is a schematic diagram of the backoff parameters for data packet retransmission provided in an embodiment of the present application.
[0095] For example, Figure 4 As shown, the backoff time used by the first device when transmitting a data packet (e.g., the first data packet or the second data packet) for the first time is 7*aSlotTime. If the data packet transmission fails, the data packet is retransmitted for the first time. The first transmission of the first / second data packet can be referred to the specific description in method 300, which will not be repeated here. The backoff time used for the first retransmission is 15*aSlotTime. If the first retransmission of the data packet fails, the data packet is retransmitted for the second time, and the backoff time used for the second retransmission is 31*aSlotTime. If the second retransmission of the data packet fails, the data packet is retransmitted for the third time, and the backoff time used for the third retransmission is 63*aSlotTime. By analogy, the backoff time used for each retransmission is approximately equal to twice the backoff time used for the previous retransmission.
[0096] The failure of data packet transmission can be understood as: the receiving end (such as the second device) did not receive the data packet, or the receiving end did not accurately receive the data packet, or the first device (such as a device using a traditional wifi chip) did not receive an ACK after sending a data packet, or the first device received a negative acknowledgement (NACK) after sending a data packet, etc.
[0097] If the transmission failure of a data packet is due to a collision with a data packet transmitted by another device, then the scheme of doubling the random backoff time for retransmission can reduce the probability of transmission failure due to collision, that is, it can improve the success rate of data packet transmission to a certain extent. However, there are many reasons for data packet transmission failure, such as poor signal-to-noise ratio, large interference, and error vector magnitude (EVM). In this case, increasing the random backoff time for retransmission will not optimize the transmission failure of the data packet.
[0098] Based on this, the embodiment of the present application proposes the following data packet retransmission method. It can be understood that the retransmission method can be applicable to the retransmission of the first / second data packet, and can also be applicable to the retransmission of data packets of other services, or can be applicable to the retransmission of data packets corresponding to other access categories (for example, best effort transmission or background traffic). The present application does not impose any restrictions on this.
[0099] Method #1
[0100] The first device monitors the target channel; when the target channel is in a non-busy state, the first device retransmits the data packet (eg, the first / second data packet) to the second device with a fourth backoff time, and the fourth backoff time is determined based on PIFS.
[0101] Exemplarily, the first device can detect whether the target channel is busy through energy detection and carrier monitoring. For example, when the first device monitors the target channel, it determines the energy size of the received signal. When the power of the received signal is greater than a certain threshold, it indicates that other devices are occupying the target channel, and the target channel is in a busy state. When the power of the received signal is less than or equal to a certain threshold, it indicates that no other device occupies the target channel, and the target channel is in a non-busy state (i.e., idle state). For example, when the first device monitors the target channel, it compares the received signal with the pseudo-random noise (PN) code of the local device. When the calculated value is greater than a certain threshold, it indicates that other devices are occupying the target channel, and the target channel is in a busy state. When the calculated value is less than or equal to a certain threshold, it indicates that no other device occupies the target channel, and the target channel is in a non-busy state. The fourth backoff time may be PIFS, or the fourth backoff time may be PIFS±error value, which is not limited in the embodiments of the present application.
[0102] Based on method #1, compared with the solution of increasing the backoff time for retransmission after data packet transmission fails, the backoff time for random access of the first device is reduced, which can reduce the transmission delay of the data packet.
[0103] Method #2
[0104] When the number of retransmissions of a data packet (for example, the first / second data packet) is greater than or equal to a fourth threshold, the fourth threshold is greater than or equal to 1, and the data packet transmission fails, the first device sends a request to send (RTS) frame to the fourth device, and the RTS frame is used to request another retransmission of the data packet, and the fourth device provides access service for the first device; correspondingly, the fourth device receives the RTS frame and sends a CTS frame to the first device, and the first device receives the CTS frame from the fourth device, and the CTS frame includes identification information of the first device and time domain resources for retransmitting the data packet; the first device retransmits the data packet to the second device on the time domain resources.
[0105] Exemplarily, the first device is a terminal device, the fourth device is an access network device of the first device, and the fourth threshold is 1 / 2 / 3. Taking the fourth threshold of 2 as an example, when the number of retransmissions of a data packet is greater than or equal to 2 and the data packet still fails to be transmitted, it is considered that the transmission of the first device collides with the transmission of the hidden terminal, so the hidden terminal is avoided through the RTS frame. The first device may not perceive the hidden terminal, but the fourth device can perceive it. After the fourth device receives the RTS frame, if it is determined that there are other terminals transmitting on the same channel as the first device at the same time, the time domain resources included in the CTS frame sent to the first device can avoid the time domain resources of the terminal transmission to avoid the collision of the transmissions of the two terminal devices. Since CTS is a broadcast frame, CTS also includes the identification information of the first device, so that after receiving CTS, the first device can know that the time domain resources in CTS are used for transmitting its own data packets.
[0106] It can be understood that method #1 and method #2 can be used alone or in combination. For example, multiple retransmissions in method #2 can use the fourth backoff time.
[0107] Based on method #2, when the data packet fails to be transmitted after multiple retransmissions, the problem of hidden terminals needs to be considered, that is, a request to send frame can be used to avoid the influence of the hidden terminal on the retransmission of the first data packet, so as to improve the success rate of data packet retransmission.
[0108] Method #3
[0109] The first device obtains a beacon frame, which includes information indicating a sending time and a sending period of the beacon frame; the first device retransmits a data packet (eg, a first / second data packet) to the second device based on the beacon frame.
[0110] Exemplarily, the fourth backoff time used for retransmission in method #1 can be PIFS. Beacon is sent periodically and the backoff time is also PIFS. Therefore, in order to avoid collision between retransmission of data packet and transmission of beacon, the first device can obtain beacon frame. The beacon frame carries a timestamp (Timestamp) and a beacon interval (Beacon Interval). The first device can determine the specific time of the next transmission of the beacon frame based on the Timestamp representing the sending time and the Beacon Interval representing the sending period. When the first device retransmits the data packet again, it can avoid the sending time of the beacon frame.
[0111] Based on method #3, when the backoff time for data packet retransmission is the same as the backoff time for beacon frame, the sending timestamp and sending period of the beacon frame can be obtained to determine the specific time for the next beacon frame to be sent, so that the beacon frame can be avoided when the data packet is retransmitted again, thereby reducing collisions and improving the reliability of data packet retransmission.
[0112] It can be understood that the retransmission scheme provided in the embodiment of the present application has a short backoff time, which can prevent the first device from being preempted by other devices in the channel to a certain extent. Method 300 mentions that when the number of third devices is less than or equal to the third threshold, the first device can use the first access category to transmit the data packets of the first service, and the subsequent retransmission of the data packets of the first service can use the retransmission scheme provided in the present application, and the data packets of the first service consume less air interface resources. However, if the data packets corresponding to other access categories (voice service, video service, best effort transmission or background traffic) use the retransmission scheme provided in the embodiment of the present application, the congestion situation in the air interface can also be judged. When the air interface is not too congested, the retransmission scheme provided in the embodiment of the present application can be used to avoid collision problems caused by frequent and rapid retransmission of data packets by multiple devices.
[0113] When the first device transmits (e.g., transmits for the first time, or retransmits) a data packet, it will try to select a higher transmission rate. When the packet error rate of the data packet transmitted by the first device is higher than a certain threshold, it will reduce the transmission rate to transmit the data packet to be transmitted. However, for the first data packet mentioned in method 300, the delay requirement is high and the transmission rate requirement is low. If a higher transmission rate is blindly selected to transmit the first data packet, the packet error rate may increase, which is not conducive to the reliable transmission of the first data packet.
[0114] For example, the transmission rate of the data packet of a certain game service (an example of the first data packet) is 2 million bits per second (Mbps), and the air interface negotiation rate of the MCS corresponding to the index value 3 under WIFI6 5G 80M bandwidth 2X2 multiple-inmultiple-out (MIMO) is above 200Mbps, which fully meets the transmission requirements of the game service. Therefore, there is no need to increase the transmission rate to transmit the data packets corresponding to the game service.
[0115] The following provides several methods for improving the transmission reliability of the first data packet. It can be understood that the following methods can be used for the first transmission in method 300, and can also be used for the retransmission provided in the embodiment of the present application. The present application does not limit this.
[0116] Method #1
[0117] The first device sends a first data packet to the second device based on the backoff parameter of the first access category and the first MCS, and the index value of the first MCS is less than or equal to the fifth threshold; correspondingly, the second device receives the first data packet.
[0118] For example, since the first data packet does not require a high transmission rate, the MCS can be limited during transmission for such data packets, that is, the maximum transmission rate is limited to improve the transmission reliability of the first data packet. The index value of the MCS corresponding to the maximum transmission rate that can be selected by the first device during the transmission of the first data packet is the fifth threshold value, and the fifth threshold value is, for example, 4.
[0119] Method #2
[0120] When the packet error rate of the data packets sent by the first device is greater than or equal to the sixth threshold, the first device sends a first data packet to the second device based on the backoff parameters of the first access category and the second MCS, the transmission rate corresponding to the second MCS is lower than the transmission rate corresponding to the MCS used by the sent data packets, and the sent data packets belong to the first service; accordingly, the second device receives the first data packet.
[0121] Exemplarily, when data packets of other access category #a (voice service, video service, best effort transmission or background traffic, etc.) are transmitted, if the packet error rate of the data packets sent by the first device is greater than or equal to the seventh threshold, the first device sends the data packets to be transmitted to the second device based on the backoff parameter of the access category #a and MCS#a, and MCS#a is lower than the transmission rate corresponding to the MCS used by the sent data packets, and the sent data packets correspond to the access category #a. The seventh threshold is greater than the sixth threshold.
[0122] It can be understood that for the transmission of data packets of different access categories, the first device can determine different rate selection algorithms. For the first queue, the packet error rate in its rate selection algorithm has a lower tolerance. Therefore, while ensuring that the transmission rate of the data packets of the first queue meets the requirements of the upper layer (such as the application layer) business, the reliability of data packet transmission can be improved by reducing the transmission rate when the packet error rate is low.
[0123] Method #3
[0124] The first device sends a data packet in a first queue to a second device based on a backoff parameter of a first access category, where the first queue includes a first data packet and at least one other data packet belonging to a first service, and the first queue is associated with the first access category, and any two data packets in the first queue correspond to different MSDUs; correspondingly, the second device receives the data packet.
[0125] Exemplarily, after the data packets of the first queue are processed at the MAC layer of the first device, each data packet corresponds to a different MSDU, that is, the data packets of the first queue are not aggregated at the MAC layer, which can reduce the waiting time due to aggregation and can also reduce the problem of affecting data packet transmission due to channel estimation changes caused by aggregation. In other words, the data packets of the first queue do not adopt the A-MSDU (aggregation MSDU) aggregation method at the MAC layer.
[0126] Furthermore, any data packet in the first queue can be split into multiple data packets at the MAC layer. For example, data packet #1 in the first queue is split into multiple data packets at the MAC layer, namely data packet #A, data packet #B, and data packet #C. Data packet #A, data packet #B, and data packet #C are processed to form MSDU #A, MSDU #B, and MSDU #C, and each MSDU includes a MAC header. In this way, when data packet #1 received by the second device has a bit error, the first device can only retransmit one or more small data packets corresponding to the bit error part, without retransmitting the entire data packet #1, saving communication resources.
[0127] Method #4
[0128] The first device sends a data packet in a first queue to a second device based on a backoff parameter of a first access category, where the first queue includes a first data packet and at least one other data packet belonging to a first service, and the first queue is associated with the first access category, and any two data packets in the first queue correspond to different MPDUs; correspondingly, the second device receives the data packet.
[0129] Exemplarily, after the data packets of the first queue are processed at the PHY layer of the first device, each data packet corresponds to a different MPDU, that is, the data packets of the first queue are not aggregated at the PHY layer, which can reduce the waiting time due to aggregation and can also reduce the problem of affecting data packet transmission due to channel estimation changes caused by aggregation. In other words, the data packets of the first queue do not adopt the A-MPDU (aggregation MPDU) aggregation method at the PHY layer.
[0130] Furthermore, any data packet in the first queue can be split into multiple data packets at the PHY layer. For example, data packet #1 in the first queue is split into multiple data packets at the PHY layer, namely data packet #A, data packet #B, and data packet #C. Data packet #A, data packet #B, and data packet #C are processed to form MPDU #A, MPDU #B, and MPDU #C, and each MPDU includes a PHY header. In this way, when data packet #1 received by the second device has a bit error, the first device can only retransmit one or more small data packets corresponding to the bit error part, without retransmitting the entire data packet #1, saving communication resources.
[0131] The association between the first queue and the first access category in method #3 and method #4 can be understood as: the access category corresponding to the data packets in the first queue during the transmission process is the first access category, or the first queue corresponds to the first access category, or the first device uses the backoff parameters of the first access category to seize the channel when transmitting the data packets in the first queue.
[0132] It can be understood that the embodiment of the present application does not limit the protocol layer at which the first device further splits the data packets in the first queue.
[0133] Method #5
[0134] The first device sends the same first data packet to the second device on different subcarriers under the same bandwidth; correspondingly, the second device receives the first data packet on different subcarriers under the same bandwidth.
[0135] For example, a 20M bandwidth channel includes 234 subcarriers, each of which can be used to send a data packet, and at least two subcarriers can be used to send the same data packet to reduce the bit error rate of data packet transmission, for example, dual carrier modulation (DCM).
[0136] It can be understood that the parameters such as thresholds or limits mentioned in the above embodiments may be "pre-configured", "pre-set" or "pre-defined" on the first device side.
[0137] It can also be understood that, in order to implement the functions in the above embodiments, the terminal includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and method steps of each example described in the embodiments disclosed in the embodiments of the present application, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0138] Figure 5 and Figure 6 The following is a schematic diagram of the structure of possible communication devices provided in the embodiments of the present application. These communication devices can be used to implement the function of the first device in the above method embodiment, and thus can also achieve the beneficial effects of the above method embodiment. In the embodiments of the present application, the communication device can be as follows: Figure 1 Any of the terminals 120a-120j shown may also be Figure 1 The network device 110a or 110b shown may also be a module (such as a chip) applied to a terminal or a network device.
[0139] like Figure 5 As shown, the communication device 500 includes a transceiver unit 510 and a processing unit 520. The communication device 500 is used to implement the above Figure 3 The function of the first device in the method embodiment shown in FIG.
[0140] In one design, the processing unit 520 is used to generate a first data packet when the data to be sent belongs to a first service, the first data packet including the data to be sent and a first field, the first field being used to indicate that the access category corresponding to the first data packet is the first access category, the priority of the first access category is higher than the voice service, the first access category is determined based on the first service, and the correspondence between multiple services and multiple access categories, the first service requires a transmission delay lower than or equal to a first threshold, and a transmission rate lower than or equal to a second threshold; the transceiver unit 510 is used to send the first data packet to the second device based on the backoff parameters of the first access category.
[0141] In some possible implementations, the processing unit 520 is also used to determine the number of third devices that transmit data packets according to the first access category based on the detection result of the target channel, and the third device does not include the first device and the second device; when the number of third devices is 0, the transceiver unit 510 is used to send the first data packet to the second device according to the first backoff time of the first access category, and the above backoff parameters include the first backoff time; when the number of third devices is greater than 0 and less than or equal to the third threshold, the transceiver unit 510 is used to send the first data packet to the second device according to the second backoff time of the first access category, and the above backoff parameters include the second backoff time.
[0142] In some possible implementations, the first backoff time is determined based on a first minimum contention window value, a first maximum contention window value, and a first arbitration frame gap number, wherein the value range of the first minimum contention window is [0, (aCWmin+1) / 8-1), the value range of the first maximum contention window is [0, (aCWmin+1) / 4-1), the value of the first maximum contention window is greater than or equal to the first minimum contention window, and the first arbitration frame gap number is less than or equal to 2.
[0143] In some possible implementations, the second backoff time is determined based on the second minimum contention window value, the second maximum contention window value and the second arbitration frame gap number, wherein the value range of the second minimum contention window is [(aCWmin+1) / 8-1, (aCWmin+1) / 4-1), the value range of the second maximum contention window is ((aCWmin+1) / 8-1, (aCWmin+1) / 4-1], the value of the second maximum contention window is greater than the second minimum contention window, the second arbitration frame gap number is less than or equal to 2, and aCWmin represents the number of time slots.
[0144] In some possible implementations, the processing unit 520 is also used to determine the number of third devices that transmit data packets according to the first access category based on the detection results of the target channel. When the number of third devices is less than or equal to a third threshold, the transceiver unit 510 is used to send the first data packet to the second device according to the third backoff time of the first access category.
[0145] In some possible implementations, the third backoff time is determined based on a third minimum contention window value, a third maximum contention window value, and a third arbitration frame gap number, wherein the value range of the third minimum contention window is [0, (aCWmin+1) / 8-1], the value range of the third maximum contention window is (0, (aCWmin+1) / 4-1], the value of the third maximum contention window is greater than the third minimum contention window, and the third arbitration frame gap number is less than or equal to 2.
[0146] In some possible implementations, when the transmission of the first data packet fails, the processing unit 520 is further used to control the transceiver unit 510 to retransmit the first data packet to the second device with a fourth backoff time when it is detected that the target channel is in a non-busy state, and the fourth backoff time is determined according to the point coordination function inter-frame space (PIFS).
[0147] In some possible implementations, when the number of retransmissions of the first data packet is greater than or equal to a fourth threshold and the transmission of the first data packet fails, the transceiver unit 510 is also used to send a request to send frame to the fourth device, where the request to send frame is used to request to retransmit the first data packet again, and the fourth device provides access service to the first device; the transceiver unit 510 is also used to receive a permission to send frame from the fourth device, where the permission to send frame includes identification information of the first device and time domain resources for retransmitting the first data packet; the transceiver unit 510 is also used to retransmit the first data packet to the second device again on the time domain resources.
[0148] In some possible implementations, the transceiver unit 510 is further used to obtain a beacon frame, which includes information indicating a sending time and a sending period of the beacon frame; the transceiver unit 510 is further used to retransmit the first data packet to the second device based on the beacon frame.
[0149] In some possible implementations, the processing unit 520 is also used to control the transceiver unit 510 to send data packets in a first queue to a second device based on a backoff parameter of the first access category, where the first queue includes a first data packet and at least one other data packet belonging to the first service, and the first queue is associated with the first access category, and any two data packets in the first queue correspond to different MSDUs.
[0150] In some possible implementations, the processing unit 520 is also used to control the transceiver unit 510 to send data packets in a first queue to a second device based on a backoff parameter of the first access category, where the first queue includes a first data packet and at least one other data packet belonging to the first service, and the first queue is associated with the first access category, and any two data packets in the first queue correspond to different MPDUs.
[0151] In some possible implementations, the processing unit 520 is also used to control the transceiver unit 510 to send a first data packet to the second device based on the backoff parameters of the first access category and the first modulation and coding scheme (MCS), and the index value of the first MCS is less than or equal to the fifth threshold.
[0152] In some possible implementations, the processing unit 520 is also used to determine the number of third devices that transmit data packets according to the first access category based on the detection result of the target channel, and the third devices do not include the first device and the second device; when the number of third devices is greater than a third threshold, the processing unit 520 generates a second data packet, and the second data packet includes data to be sent and a second field, and the second field is used to indicate that the access category corresponding to the second data packet is voice service; the transceiver unit 510 is also used to send the second data packet to the second device based on the backoff parameters of the voice service.
[0153] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. For example, a "module" can be a software program, a hardware circuit, or a combination of the two to implement the above-mentioned functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a merged logic circuit, and / or other suitable components that support the described functions.
[0154] Therefore, the modules of each example described in the embodiments of the present application can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0155] In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other and are not used to limit the protection scope of this application. The specific working process of the units and modules in the above system can refer to the corresponding process in the above method embodiment, which will not be repeated here.
[0156] Figure 6 A simplified schematic diagram of a communication device 600 is shown. The device 600 is used to implement the functions of the first device of the embodiment of the present application. For example, the first device may be a base station, a terminal, a DU, a CU, a CU-CP, a CU-UP or a RU. The device 600 may be a first device, or a device that can be installed in the first device, or a device that can be used in combination with the first device, without limitation. For example, the device may be a chip or a chip system. The device 600 includes an interface circuit 620 and a processor 610.
[0157] Optionally, the processor 610 is used to execute the program 640. The processor 610 may store the program 640, or obtain the program 640 from other devices or equipment (for example, from the memory 630 or downloaded from a third-party website, etc.).
[0158] Optionally, the device 600 includes a memory 630. The memory 630 is used to store a program 650. The program 650 may be pre-stored or subsequently loaded.
[0159] Optionally, the memory 630 may also be used to store necessary data. These components work together to provide various functions described in the embodiments of the present application.
[0160] The processor 610 may include one or more processors as a combination of computing devices. The processor 610 may include one or more of the following: a microprocessor, a microcontroller, a digital signal processor (DSP), a digital signal processing device (DSPD), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a programmable logic device (PLD), gated logic, transistor logic, discrete hardware circuits, processing circuits or other suitable hardware, firmware, and / or a combination of hardware and software configured to perform the various functions described in the embodiments of the present application.
[0161] Processor 610 may be a general purpose processor or a dedicated processor. For example, processor 610 may be a baseband processor or a central processing unit. A baseband processor may be used to process communication protocols and communication data. A central processing unit may be used to execute software programs and process data in the software programs.
[0162] The interface circuit 620 may include any suitable hardware or software for enabling communication with one or more computer devices (e.g., network elements of embodiments of the present application). For example, in some embodiments, the interface circuit 620 may include terminals and / or pins for coupling wired connected wires or coupling wirelessly connected wireless transceivers. In some embodiments, the interface circuit 620 may include a transmitter, a receiver, a transceiver, and / or an antenna. The interface may be configured to enable communication between computer devices (e.g., devices of embodiments of the present application) using any available protocol (e.g., 3GPP standard protocols).
[0163] The program in the embodiments of the present application refers to software in a broad sense. The software may be a program code, a program, a subroutine, an instruction set, a code, a code segment, a software module, an application, a software application, etc. The program may be run in a processor and / or a computer to perform the various functions and / or processes described in the embodiments of the present application.
[0164] The memory 630 can store the necessary data required when the processor 610 executes the software. The memory 630 can be implemented using any suitable storage technology. For example, the memory 630 can be any available storage medium that can be accessed by the processor and / or the computer. Non-limiting examples of storage media include random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), removable media, optical disk storage, magnetic disk storage media, magnetic storage devices, flash memory, registers, state memory, remotely installed memory, local or remote memory components, or any other medium that can carry or store software, data or information and can be accessed by the processor / computer.
[0165] The memory 630 and the processor 610 may be provided separately or integrated together. The processor 610 may read information from the memory 630 and store and / or write information in the memory. The memory 630 may be integrated in the processor 610. The processor 610 and the memory 630 may be provided in an integrated circuit (e.g., an application-specific integrated circuit (ASIC)). The integrated circuit may be provided in the first device or other network node of the embodiment of the present application.
[0166] When the communication device 600 is used to implement Figure 3 When the method is shown, the processor 610 is used to execute the function of the processing unit 520, and the interface circuit 620 is used to execute the function of the transceiver unit 510.
[0167] When the communication device is a chip applied to a network device, the network device chip implements the functions of the network device in the above method embodiment. For example, the network device chip receives information from other modules in the network device (such as a radio frequency module or an antenna), and the information is sent by the terminal to the network device; or the network device chip sends information to other modules in the network device (such as a radio frequency module or an antenna), and the information is sent by the network device to the terminal.
[0168] When the communication device is a chip applied to a terminal, the terminal chip implements the functions of the terminal in the above method embodiment. For example, the terminal chip receives information from other modules in the terminal (such as a radio frequency module or an antenna), and the information is sent by the network device to the terminal; or the terminal chip sends information to other modules in the terminal (such as a radio frequency module or an antenna), and the information is sent by the terminal to the network device.
[0169] It is understandable that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.
[0170] The method steps in the embodiments of the present application can be implemented in hardware or in software instructions that can be executed by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, register, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. The storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal. The processor and the storage medium can also be present in the terminal as discrete components.
[0171] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc; it may also be a semiconductor medium, for example, a solid-state hard disk. The computer-readable storage medium may be a volatile or nonvolatile storage medium, or may include both volatile and nonvolatile types of storage media.
[0172] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions; when the computer-readable storage medium runs on a first device, the first device executes the method as shown above.
[0173] An embodiment of the present application also provides a computer program product including computer instructions, which, when executed on a first device, enables the first device to execute the method shown above.
[0174] It should be understood that the above is only to help those skilled in the art better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. According to the above examples given, those skilled in the art can obviously make various equivalent modifications or changes. For example, some steps in each embodiment of the above method may be unnecessary, or some new steps may be added. Or a combination of any two or any multiple embodiments of the above. Such modifications, changes or combined solutions also fall within the scope of the embodiments of the present application.
[0175] In the textual description of the embodiments of the present application, the character “ / ” generally indicates that the previously associated objects are in an “or” relationship; in the formulas of the embodiments of the present application, the character “ / ” indicates that the previously associated objects are in a “division” relationship.
[0176] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic.
[0177] It should also be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.
[0178] It should also be understood that the above description of the embodiments of the present application focuses on emphasizing the differences between the various embodiments. The same or similar points that are not mentioned can be referenced to each other. For the sake of brevity, they will not be repeated here.
[0179] It should also be understood that in the embodiments of the present application, "pre-configuration", "pre-setting" and "pre-definition" can be achieved by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in a first device (for example, including a terminal device), and the present application does not limit its specific implementation method.
[0180] It should also be understood that the division of the methods, situations, categories and embodiments in the embodiments of the present application is only for the convenience of description and should not constitute a special limitation. The features of various methods, categories, situations and embodiments can be combined without contradiction.
[0181] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for transmitting a data packet, characterized in that: The method comprises: The first device generates a first data packet when the data to be sent belongs to a first service, the first data packet including the data to be sent and a first field, the first field indicating that an access category corresponding to the first data packet is a first access category, the priority of the first access category is higher than a voice service, the first access category is determined based on the first service, and a correspondence between multiple services and multiple access categories, the first service requires a transmission delay lower than or equal to a first threshold, and a transmission rate lower than or equal to a second threshold; The first device sends the first data packet to a second device based on a backoff parameter of the first access category.
2. The method according to claim 1, characterized in that The method further comprises: The first device detects a target channel and determines the number of third devices that transmit data packets according to the first access category, wherein the third devices do not include the first device and the second device; When the number of the third devices is 0, the first device sending the first data packet to the second device based on the backoff parameter of the first access category includes: The first device sends the first data packet to the second device according to a first backoff time of the first access category, where the backoff parameter includes the first backoff time; When the number of the third devices is greater than 0 and less than or equal to a third threshold, the first device sending the first data packet to the second device based on the backoff parameter of the first access category includes: The first device sends the first data packet to the second device according to a second backoff time of the first access category, and the backoff parameter includes the second backoff time.
3. The method according to claim 2, characterized in that The first backoff time is determined based on a first minimum contention window value, a first maximum contention window value and a first arbitration frame gap number, wherein the value range of the first minimum contention window is [0, (aCWmin+1) / 8-1), the value range of the first maximum contention window is [0, (aCWmin+1) / 4-1), the value of the first maximum contention window is greater than or equal to the first minimum contention window, the first arbitration frame gap number is less than or equal to 2, and aCWmin represents the number of time slots.
4. The method according to claim 2 or 3, characterized in that: The second backoff time is determined based on the second minimum contention window value, the second maximum contention window value and the second arbitration frame gap number, wherein the value range of the second minimum contention window is [(aCWmin+1) / 8-1, (aCWmin+1) / 4-1), the value range of the second maximum contention window is ((aCWmin+1) / 8-1, (aCWmin+1) / 4-1], the value of the second maximum contention window is greater than the second minimum contention window, the second arbitration frame gap number is less than or equal to 2, and aCWmin represents the number of time slots.
5. The method according to claim 1, characterized in that The method further comprises: The first device detects a target channel and determines the number of third devices that transmit data packets according to the first access category, wherein the third devices do not include the first device and the second device; When the number of the third devices is less than or equal to a third threshold, the first device sending the first data packet to the second device based on the backoff parameter of the first access category includes: The first device sends the first data packet to the second device according to a third backoff time of the first access category, and the backoff parameter includes the third backoff time.
6. The method according to claim 5, characterized in that The third backoff time is determined based on a third minimum contention window value, a third maximum contention window value and a third arbitration frame gap number, wherein the value range of the third minimum contention window is [0, (aCWmin+1) / 8-1], the value range of the third maximum contention window is (0, (aCWmin+1) / 4-1], the value of the third maximum contention window is greater than the third minimum contention window, the third arbitration frame gap number is less than or equal to 2, and aCWmin represents the number of time slots.
7. The method according to any one of claims 1 to 6, characterized in that In the case where the transmission of the first data packet fails, the method further includes: The first device monitors the target channel; When the target channel is in a non-busy state, the first device retransmits the first data packet to the second device with a fourth backoff time, and the fourth backoff time is determined according to a point coordination function inter-frame space PIFS.
8. The method according to claim 7, characterized in that When the number of retransmissions of the first data packet is greater than or equal to a fourth threshold and the transmission of the first data packet fails, the method further includes: The first device sends a request to send frame to a fourth device, where the request to send frame is used to request to retransmit the first data packet again, and the fourth device provides access service for the first device; The first device receives a permission-to-send frame from the fourth device, where the permission-to-send frame includes identification information of the first device and a time domain resource for retransmitting the first data packet; The first device retransmits the first data packet to the second device again on the time domain resources.
9. The method according to claim 7, characterized in that: The method further comprises: The first device acquires a beacon frame, where the beacon frame includes information indicating a sending time and a sending period of the beacon frame; The first device retransmits the first data packet to the second device using PIFS as a backoff time, including: The first device retransmits the first data packet to the second device based on the beacon frame.
10. The method according to any one of claims 1 to 9, characterized in that The first device sending the first data packet to the second device based on the backoff parameter of the first access category includes: The first device sends data packets in a first queue to the second device based on the backoff parameters of the first access category, the first queue includes the first data packet and at least one other data packet belonging to the first service and associated with the first access category, and any two data packets in the first queue correspond to different media access control service data units MSDU.
11. The method according to any one of claims 1 to 9, characterized in that The first device sending the first data packet to the second device based on the backoff parameter of the first access category includes: The first device sends data packets in a first queue to the second device based on the backoff parameters of the first access category, the first queue includes the first data packet and at least one other data packet belonging to the first service and associated with the first access category, and any two data packets in the first queue correspond to different media access control protocol data units MPDU.
12. The method according to any one of claims 1 to 11, characterized in that The first device sending the first data packet to the second device based on the backoff parameter of the first access category includes: The first device sends the first data packet to the second device based on a backoff parameter of the first access category and a first MCS, where an index value of the first MCS is less than or equal to a fifth threshold.
13. The method according to claim 1, characterized in that The method further comprises: The first device detects a target channel and determines the number of third devices that transmit data packets according to the first access category, wherein the third devices do not include the first device and the second device; When the number of the third devices is greater than a third threshold, the first device generates a first data packet, including: The first device generates a second data packet, the second data packet including the data to be sent and a second field, the second field being used to indicate that the access category corresponding to the second data packet is a voice service; The first device sending the first data packet to the second device based on the backoff parameter of the first access category includes: The first device sends the second data packet to the second device based on a backoff parameter of a voice service.
14. A terminal device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 13 when executing the computer program.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 13.
16. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is executed by a terminal device, the terminal device executes the method according to any one of claims 1 to 13.
Citation Information
Cited By
Communication method and device, electronic equipment and storage medium
CN122458218A
Communication method, system, and apparatus
WO2026138301A1
