A data transmission method and apparatus
By encapsulating Ethernet frames of different priority levels into MPDUs in a wireless LAN and modifying the TID to aggregate them into A-MPDUs, the problem of low utilization of air interface resources is solved and more efficient resource utilization and compatibility is achieved.
Patent Information
- Application Number
- CN202110594873.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-28
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2041-05-28
AI Technical Summary
In wireless LAN, when the sending device competes for air interface resources with multiple priority data, the resource utilization rate is not high, resulting in air interface resources not being effectively utilized.
The utilization of air interface resources is improved by encapsulating Ethernet frames of different priorities into Media Media Access Control Protocol Data Units (MPDUs) and modifying the TIDs to make them the same.
The utilization rate of air interface resources is improved, so that the same air interface resource can transmit more data, and has high compatibility. Traditional terminals can also receive A-MPDUs normally.
Smart Images

Figure CN115412964B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication, and more particularly, to a data transmission method and apparatus. Background Art
[0002] In a wireless local area network (WLAN), when there are multiple priorities of data to be sent in the same sending device, the sending device usually puts data with the same priority into a queue to compete for air interface resources. The sending device can poll among multiple queues to determine the queue participating in the air interface competition. After aggregating the data in the queue, it uses the competed air interface resources for transmission. However, in many cases, when the sending device transmits data using the competed air interface resources, the air interface resources are not effectively utilized, and the resource utilization rate is not high. Summary of the Invention
[0003] This application provides a data transmission method and apparatus, aiming to aggregate multiple MAC protocol data units (MPDUs) encapsulated by Ethernet frames with different priorities and send them to a station (STA) through the air interface, so that the competed air interface resources can be utilized more efficiently, thereby improving the utilization rate of air interface resources to a certain extent.
[0004] In a first aspect, this application provides a data transmission method, which can be executed by an access point (AP).
[0005] The method includes: The AP receives a first Ethernet frame and a second Ethernet frame, and the priorities of the first Ethernet frame and the second Ethernet frame are different. The AP obtains a first media access control protocol data unit (MPDU) based on the first Ethernet frame, and obtains a second MPDU based on the second Ethernet frame. The AP sends an aggregation MPDU (A-MPDU), and the A-MPDU includes the first MPDU and the second MPDU. Wherein, the traffic identifiers (TIDs) of the first MPDU and the second MPDU are the same.
[0006] In the above technical solution, the AP aggregates the MPDUs obtained from the received Ethernet frames with different priorities together, so that Ethernet frames with different priorities can be transmitted through the same air interface resource. In this way, the air interface resources that were originally only used to transmit data with the same priority can be used to transmit data with different priorities, that is, it becomes possible to transmit more data through the same air interface resource. Therefore, the air interface resources are utilized more efficiently, and to a certain extent, the utilization rate of the air interface resources can be improved. In addition, the TIDs of the first MPDU and the second MPDU are the same, making the compatibility of this solution high, and traditional terminals can also normally receive this A-MPDU.
[0007] Combined with the first aspect, in some possible implementation manners, the correspondence between the priority of the first Ethernet frame and the TID of the first MPDU is in the mapping relationship; the correspondence between the priority of the second Ethernet frame and the TID of the second MPDU is different from any correspondence of the mapping relationship, where the mapping relationship includes correspondences between multiple priorities and multiple TIDs.
[0008] Here, the TIDs of the first MPDU and the second MPDU respectively refer to the TIDs of the first MPDU and the second MPDU after being aggregated into the A-MPDU. That is to say, the correspondence between the priority of the second Ethernet frame and the TID of the second MPDU changes after aggregation. By aggregating the MPDUs encapsulated from Ethernet frames with different priorities together, different-priority MPDUs can compete for air interface resources together.
[0009] Combined with the first aspect, in some possible implementation manners, the method further includes: the AP modifies the TID of the second MPDU so that the modified TID of the second MPDU is the same as the TID of the first MPDU.
[0010] By modifying the TID of the MPDU, the TID of the second MPDU in the A-MPDU is made the same as the TID of the first MPDU. In order to aggregate Ethernet frames with different priorities for transmission, the present application is implemented by modifying the TID of the MPDU, thereby improving the utilization rate of the air interface resources.
[0011] Combined with the first aspect, in some possible implementation manners, the A-MPDU further includes other MPDUs in addition to the first MPDU and the second MPDU, and the number of MPDUs in the A-MPDU reaches the maximum aggregation depth.
[0012] Among them, the maximum aggregation depth specifically refers to the maximum number of MPDUs that the STA can receive at one time. The maximum aggregation depth can be negotiated and determined by the AP and the STA.
[0013] The above-mentioned other MPDUs may include MPDUs that are different from the first MPDU and the second MPDU and have different priorities from both the first MPDU and the second MPDU, or may include MPDUs with the same priority as the first MPDU and / or MPDUs with the same priority as the second MPDU.
[0014] By maximizing the number of MPDUs to the maximum aggregation depth as much as possible, the air interface resources can be utilized to the greatest extent and the utilization rate of the air interface resources can be improved.
[0015] In a possible case, the number of Ethernet frames stored in the AP with the same priority as the first Ethernet frame is less than the maximum aggregation depth.
[0016] Optionally, the A-MPDU includes all the Ethernet frames stored in the AP with the same priority as the first Ethernet frame.
[0017] Through the above solution, it can be ensured that all Ethernet frames with the same priority as the first Ethernet frame have a transmission opportunity.
[0018] In another possible case, the number of Ethernet frames stored in the AP with the same priority as the first Ethernet frame is greater than or equal to the maximum aggregation depth.
[0019] Optionally, the method further includes: the AP reserves positions for the Ethernet frames joining the A-MPDU according to a first quantity and a second quantity, the first quantity is the reserved quantity corresponding to the priority of the first Ethernet frame, the second quantity is the reserved quantity corresponding to the priority of the second Ethernet frame, the number of Ethernet frames in the A-MPDU with the same priority as the first Ethernet frame is less than or equal to the first quantity, and the number of Ethernet frames in the A-MPDU with the same priority as the second Ethernet frame is less than or equal to the second quantity.
[0020] By reserving positions for MPDUs with multiple priorities, it is possible to preferentially ensure that a certain number of higher-priority MPDUs can also obtain a transmission opportunity to a certain extent.
[0021] Combined with the first aspect, in some possible implementation manners, the priority of the Ethernet frame corresponding to any MPDU in the A-MPDU is not lower than the priority of the first Ethernet frame.
[0022] That is to say, when aggregating MPDUs, Ethernet frames with higher priorities than the first Ethernet frame are preferentially selected for aggregation, and higher-priority MPDUs are preferentially ensured to be transmitted.
[0023] In combination with the first aspect, in some possible implementation manners, the method further includes: The AP selects, from Ethernet frames with priorities different from that of the first Ethernet frame, the Ethernet frames to be added to the A-MPDU in the order of decreasing priority of the stored Ethernet frames.
[0024] By sequentially selecting the Ethernet frames that can be added to the A-MPDU in the order of decreasing priority, to a certain extent, a certain number of MPDUs can be guaranteed to have transmission opportunities in the order of decreasing priority.
[0025] In a second aspect, the present application provides a data transmission device, which includes a processing unit and a transceiver unit, and can be used to implement the data transmission method in the first aspect and any possible implementation manner of the first aspect. Each module or unit can implement the corresponding function by executing a computer program.
[0026] In a third aspect, the present application provides a data transmission device, which includes a processor. The processor is coupled to a memory and can be used to execute a computer program in the memory to implement the data transmission method in the first aspect and any possible implementation manner of the first aspect.
[0027] Optionally, the data transmission device further includes a memory.
[0028] Optionally, the data transmission device further includes a communication interface, and the processor is coupled to the communication interface.
[0029] In a fourth aspect, a computer program product is provided, where the computer program product includes: a computer program (which can also be referred to as code or instruction), and when the computer program is run, the method in the first aspect and any possible implementation manner of the first aspect is executed.
[0030] In a fifth aspect, a chip system is provided, which includes at least one processor and is used to support the implementation of the functions involved in the first aspect and any possible implementation manner of the first aspect. For example, receiving or processing the data and / or information involved in the above method.
[0031] In a possible design, the chip system further includes a memory, and the memory is used to store program instructions and data. The memory is located inside or outside the processor. The chip system can be composed of chips or can include chips and other discrete devices.
[0032] In a sixth aspect, a computer-readable storage medium is provided, and a computer program (which can also be referred to as code or instruction) is stored on the computer storage medium. When the computer program is run by a processor, the method in the first aspect and any possible implementation manner of the first aspect is executed.
[0033] It should be understood that the technical solutions of the second to sixth aspects of the present application correspond to those of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation manners are similar, so they will not be elaborated herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a schematic diagram of a communication system applicable to the data transmission method according to an embodiment of the present application;
[0035] Figure 2 is a process of converting an Ethernet frame to an A-MPDU applicable to an embodiment of the present application;
[0036] Figure 3 is a schematic flowchart of the data transmission method provided by an embodiment of the present application;
[0037] Figure 4 is a schematic block diagram of a data transmission device provided by an embodiment of the present application;
[0038] Figure 5 is another schematic block diagram of the data transmission device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0039] The technical solutions in the present application will be described below with reference to the accompanying drawings.
[0040] For ease of understanding, Figure 1 a communication system applicable to the data transmission method provided by an embodiment of the present application is shown.
[0041] As Figure 1 shown, the communication system 100 may include: a wireless access point controller 110, an AP 120, and at least one STA, such as STAs 131, 132, and 133 shown in the figure. Among them, the STA can be connected to the AP through the WLAN, and the AP can be connected to the wireless access point controller through the optical fiber. The data transmission from the STA to the AP and from the AP to the wireless access point controller can be referred to as uplink transmission, and the data transmission from the wireless access point controller to the AP and from the AP to the STA can be referred to as downlink transmission.
[0042] The AP can be a home / enterprise gateway router in a WLAN communication system. The STA can be devices such as a mobile phone, a tablet computer, and a notebook with WLAN function, Figure 1 and STAs 131, 132, and 133 in
[0043] Although Figure 1Not shown, but Figure 1 The shown communication system may further include other numbers of wireless access point controllers, APs, and STAs. The embodiments of the present application do not limit this.
[0044] In the embodiments of the present application, the data transmission between the AP and the STA may be data transmission based on the Institute of Electrical and Electronics Engineers (IEEE) 802.11 series of standards. Figure 1 It is only an example of a communication system applicable to the data transmission method provided by the embodiments of the present application, and should not constitute any limitation to the scenarios applicable to the present application. For example, in some scenarios, the wireless access point controller may be replaced by other devices with the same or similar functions as the wireless access point controller, or, in other scenarios, the wireless access point controller may not be included, and the AP may be directly connected to the network through an Ethernet cable.
[0045] To facilitate the understanding of the following embodiments, the terms involved in the present application are briefly described below.
[0046] 1. WLAN: A local area network built wirelessly.
[0047] 2. Wireless access point: Briefly referred to as access point (AP) in this article, and may also be called a hotspot, etc. Specifically, the AP may be a network device with a wireless local area network chip, or the AP may be a device supporting WLAN.
[0048] 3. Station (STA): A wireless terminal that can access an AP, which can also be referred to as a terminal device, mobile terminal, terminal, etc. Wireless terminals can include, for example, but are not limited to, mobile phones with WLAN capabilities, tablet computers, laptop computers, wearable devices, in-vehicle devices, augmented reality (AR) devices, virtual reality (VR) devices, laptop computers, personal computers (PCs), ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), distributed devices, printers, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, etc.
[0049] 4. Wireless access point controller: A network device used to centrally control APs. It is the core of a WLAN and is responsible for managing all APs in the WLAN. The management of APs can include, for example, but is not limited to, distributing configurations, modifying relevant configuration parameters, radio frequency intelligent management, access security control, etc.
[0050] 5. Ethernet frame: An Ethernet frame refers to the data packet transmitted over an Ethernet link.
[0051] 6. Media access control service data unit (MSDU): A data unit transmitted between MAC service access points.
[0052] 7. MPDU: A data unit transmitted between two peer MAC entities using the services of the physical layer.
[0053] 8. Aggregation MSDU (A-MSDU): Contains one or more MSDUs and serves as a single data transmission unit for MPDUs.
[0054] 9. A-MPDU: It contains one or more MPDUs and is used by the physical layer as a single data transmission unit.
[0055] For the convenience of understanding and distinction, the following will describe the process of converting an Ethernet frame into an MSDU, A-MSDU, MPDU, and A-MPDU in combination with Figure 2 to illustrate. Through the conversion process between them, it is easier to understand the differences and associations between an Ethernet frame, MSDU, A-MSDU, MPDU, A-MPDU, etc.
[0056] As Figure 2 shown, a wireless access controller can send an Ethernet frame. An Ethernet frame can consist of a frame header, a payload, and a frame tail. The frame header may include a field for the priority of the Ethernet frame. The priority of the Ethernet can be, for example, user priority (UP).
[0057] There are various ways to describe the priority of an Ethernet frame. For example, class of service (COS) priority and differentiated services code point (DSCP) priority, etc. The embodiments of this application do not limit this.
[0058] An AP can receive an Ethernet frame, parse the Ethernet frame, read the information of the frame header and frame tail of the Ethernet frame, and can remove the frame header and frame tail of the Ethernet to obtain the payload part, which can also be understood as obtaining an MSDU. The AP can first encapsulate the MSDU into an A-MSDU subframe, then aggregate the A-MSDU subframes into an A-MSDU, and then encapsulate the A-MSDU into an MPDU; the AP can also directly encapsulate the MSDU to obtain an MPDU.
[0059] For example, based on the information of the frame header and frame tail of the read Ethernet frame, the AP can add a new header and padding to the MSDU to obtain an A-MSDU subframe that can be aggregated into an A-MSDU. In other words, the AP can encapsulate the MSDU into an A-MSDU subframe and then aggregate the A-MSDU subframes into an A-MSDU. The AP can aggregate multiple A-MSDU subframes into an A-MSDU. Therefore, it can also be said that an A-MSDU is obtained by aggregating multiple A-MSDU subframes. In this case, the MPDU includes an A-MSDU.
[0060] The AP can, based on the priority information in the header of the read Ethernet frame and according to the preset mapping relationship of the priority information, add a MAC header including the corresponding priority information to the A-MSDU, and add a frame check sequence (FCS) etc. at the tail, so as to encapsulate the A-MSDU to obtain an MPDU. For example, the header added to the A-MSDU may include a quality of service (QoS) control (QoS Control) field, which contains a TID, and the TID can be used to represent different QoS levels of the data frame. The TID can correspond to the priority of the above Ethernet frame.
[0061] For another example, the AP can read the information of the header and tail of the Ethernet frame, based on the priority information in the header of the read Ethernet frame, and according to the preset mapping relationship of the priority information, directly add a MAC header including the corresponding priority information to the MSDU, and add an FCS etc. at the tail, so as to directly encapsulate the MSDU to obtain an MPDU. In this case, the MPDU includes the MSDU.
[0062] The AP can also add a start frame delimiter and padding to the MPDU to encapsulate the MPDU into an A-MPDU sub-frame that can be aggregated into an A-MPDU. The AP can aggregate multiple A-MPDU sub-frames together to obtain an A-MPDU, or can add an end identifier at the end of the aggregated data frame to obtain an A-MPDU.
[0063] Figure 2 The process of converting the shown Ethernet frame to MSDU, A-MSDU, MPDU and A-MPDU is only a possible situation. The conversion between the Ethernet frame and MSDU, A-MSDU, MPDU, A-MPDU, etc. can be a simpler or more complex process, and this application does not make any limitation on this.
[0064] In the WLAN, to ensure the transmission quality of different service data, different priorities can be set for different service data. Taking the COS priority as an example, different priorities can be represented by different user priority (UP) values. In the order from low to high priority, the UPs are 1, 2, 0, 3, 4, 5, 6, 7 in sequence. The UP determines the priority of each Ethernet frame.
[0065] As described above, the header of the MSDU includes a QoS Control field, and the QoS Control field contains a TID. The TID can be used to represent different QoS levels of data frames. There may be a certain mapping relationship between the priority of the Ethernet frame and the priority of the TID. The AP can determine the TID of the corresponding MPDU according to the UP of each Ethernet frame. In a possible design, the TID is the same as the UP. That is, in the order of increasing priority, the TIDs are 1, 2, 0, 3, 4, 5, 6, and 7 in sequence.
[0066] As an example of the priority, the COS priority should not impose any limitation on the embodiments of the present application. The mapping relationship between the UP and the TID is only an example, and the present application does not limit the specific parameter representation of the priority and the specific corresponding relationship between the UP and the TID.
[0067] The TID can be used to determine the channel access category of the data. For example, there are usually four channel access categories (AC) in the WLAN, which can also be simply referred to as access categories. In the order of increasing priority, the four channel access categories are: background (BK) traffic, best effort (BE) traffic, video (VI) traffic, and voice (VO) traffic.
[0068] The TID can also have a certain mapping relationship with the channel access category of the data. Similarly, through the mapping relationship between the priority of the TID and the access category, the access category can be obtained based on the priority of the TID.
[0069] Table 1 shows an example of the mapping relationship between the UP and the TID, and the mapping relationship between the TID and the access category.
[0070] Table 1
[0071]
[0072]
[0073] The priority of the UP shown in Table 1 increases from top to bottom. In other words, if arranged in the order of increasing priority, the UPs are 1, 2, 0, 3, 4, 5, 6, and 7 in sequence. The TID values corresponding to the UP also increase from top to bottom. That is, if arranged in the order of increasing priority, the TIDs are 1, 2, 0, 3, 4, 5, 6, and 7 in sequence. The priority of the access category corresponding to the TID also increases from top to bottom.
[0074] The mapping relationship between the UP and the TID and the mapping relationship between the TID and the channel access category shown in Table 1 are only examples. The correspondence between the value of the UP and the value of the TID can also be other correspondences, which should not impose any limitations on the embodiments of the present application. The mapping relationship between the UP and the TID and the mapping relationship between the TID and the channel access category are not limited to those shown in Table 1, nor are they limited to being reflected in the form of a table. In addition, when the priority is reflected in other ways, the mapping relationship between the UP and the TID and / or the mapping relationship between the TID and the priority may also change accordingly, and the present application does not make any limitations in this regard.
[0075] The AP can receive data from the wireless access point controller and cache the received data into a cache queue. When there is data of multiple channel access categories to be sent in the same AP, the AP usually puts the data with the same TID into one queue to compete for the air interface resources. The AP can determine the queue that has the opportunity to participate in the air interface competition according to the TID of the data. After aggregating the data in the queue, the aggregated data is sent to participate in the air interface competition. However, since the AP usually aggregates the data with the same TID together, the data with different TIDs cannot be aggregated. In most cases, when the AP transmits data through the air interface resources obtained by competition, the air interface resources are not effectively utilized, and the resource utilization rate is not high.
[0076] Therefore, the present application provides a data transmission method. By aggregating MPDUs encapsulated from Ethernet frames with different priorities and sending them to the STA through the air interface, the air interface resources obtained by competition can be utilized more efficiently, thereby improving the utilization rate of the air interface resources to a certain extent.
[0077] The aforementioned Ethernet frame and MPDU are different forms of data representation. The AP can encapsulate the Ethernet frame into an MPDU according to the process described above. Therefore, the data content in the Ethernet frame and the MPDU is the same. Figure 2 The process described above. Therefore, the data content in the Ethernet frame and the MPDU is the same.
[0078] The data transmission method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0079] For ease of understanding, the following points are explained:
[0080] First, since the MPDU is obtained by encapsulating the Ethernet frame, for the convenience of description hereinafter, the priority of the Ethernet frame corresponding to the MPDU is referred to as the priority of the MPDU. The priority of the MPDU and the TID of the MPDU can be different.
[0081] In addition, for the convenience of distinction and description, in the following text, the priority of the first Ethernet frame is denoted as the first priority, and the priority of the second Ethernet frame is denoted as the second priority. In other words, the first MPDU corresponds to the first priority, and the second MPDU corresponds to the second priority.
[0082] Second, the terms "first", "second", etc. are only for the convenience of distinguishing different objects and should not constitute any limitation. For example, the first priority and the second priority do not limit the high or low of the priority; the first MPDU and the second MPDU do not limit the transmission order of the MPDU, and so on.
[0083] Figure 3 Taking the AP as the execution entity as an example, the data transmission method provided by the embodiment of the present application is described in detail. The AP may be, for example, Figure 1 the AP 120 in the communication system 100 shown in the figure, but this should not constitute any limitation to the execution entity of the method. As long as the program code recording the method provided by the embodiment of the present application can be run, the method provided by the embodiment of the present application can be executed.
[0084] Figure 3 is a schematic flowchart of the data transmission method 300 provided by the embodiment of the present application. As Figure 3 shown, the method 300 may include steps 310 to 330. The following makes a detailed description of each step in the method 300.
[0085] In step 310, the AP receives a first Ethernet frame and a second Ethernet frame.
[0086] The first Ethernet frame and the second Ethernet frame may be Ethernet frames sent to the same STA. The AP may receive the first Ethernet frame and the second Ethernet frame from a wireless access point controller or other devices.
[0087] In an actual scenario, the AP may receive multiple Ethernet frames to be sent to multiple STAs from a wireless access point controller or other devices. For example, in Figure 1In the communication system 100 shown, the AP 120 can receive multiple Ethernet frames from the wireless access point controller 110 that are respectively destined for the STAs 131, 132, and 133. After receiving the multiple Ethernet frames, the AP can de-encapsulate the Ethernet frames. The destination address corresponding to the STA can be carried in the header of the Ethernet frame. The AP can distinguish which Ethernet frames are to be sent to which STA based on the destination address. The process by which the AP determines the STA based on the destination address can also be understood as the AP grouping the received Ethernet frames based on the destination address, and grouping the Ethernet frames to be sent to the same STA into one group. The processes for the AP to process the Ethernet frames in each group are similar. Without loss of generality, the data transmission method provided in the embodiments of the present application will be described below by taking the Ethernet frames sent to one STA as an example.
[0088] As described above, after the AP receives the first Ethernet frame and the second Ethernet frame, the AP can de-encapsulate the first Ethernet frame and the second Ethernet frame to obtain the priority of the first Ethernet frame and the priority of the second Ethernet frame. In the embodiments of the present application, the priorities of the first Ethernet frame and the second Ethernet frame are different. For example, the UP value of the first Ethernet frame is 5, and the UP value of the second Ethernet frame is 6.
[0089] In step 320, the AP obtains a first MPDU based on the first Ethernet frame and a second MPDU based on the second Ethernet frame.
[0090] For example, the AP can obtain the corresponding TID based on the mapping relationship between the priority of the Ethernet frame and the TID, such as the mapping relationship between the priority of the Ethernet frame and the TID shown in Table 1, based on the priority of the first Ethernet frame. When the AP encapsulates the first Ethernet frame, that is, when encapsulating the A-MSDU obtained based on the first Ethernet frame, the TID field in the QoS Control field of the MAC header added to the A-MSDU is filled with the TID obtained based on the priority of the first Ethernet frame.
[0091] Similarly, the corresponding TID is obtained based on the priority of the second Ethernet frame. When the second Ethernet frame is encapsulated, that is, when encapsulating the A-MSDU obtained based on the second Ethernet frame, the TID field in the QoS Control field of the MAC header added to the A-MSDU is filled with the TID obtained based on the priority of the second Ethernet frame.
[0092] It should be noted that the MPDU may include an A-MSDU or an MSDU. Since the conversion process from Ethernet frames to MPDUs has been illustrated by examples above, for the sake of brevity, it will not be elaborated here. Figure 2 For the sake of brevity, it will not be elaborated here.
[0093] In step 330, the AP sends an A-MPDU.
[0094] As described above, an A-MPDU can be obtained by aggregating multiple MPDUs.
[0095] In an embodiment of the present application, the AP can aggregate a first MPDU and a second MPDU to generate an A-MPDU. In other words, the A-MPDU sent by the AP includes the first MPDU and the second MPDU.
[0096] The TIDs of the first MPDU and the second MPDU in the aggregated A-MPDU are the same.
[0097] The AP can modify the TID of the second MPDU so that the modified TID of the second MPDU is the same as the TID of the first MPDU.
[0098] When the Ethernet frames are cached in the buffer queue of the AP, it may be necessary to modify the TID value, or it may not be necessary to modify the TID value; when the MPDUs are cached in the buffer queue of the AP, it may be necessary to modify the TID value.
[0099] For example, when the Ethernet frames are cached in the buffer queue of the AP, when the AP determines the queue to be sent, the Ethernet frames in the queue can be called the first Ethernet frames. The TID value of the data that can be sent can be determined according to the mapping relationship between the priority and the TID of the first Ethernet frames. The AP can also determine the first Ethernet frame and the second Ethernet frame according to the pre-stored policy, and can obtain the first MPDU based on the first Ethernet frame and the second MPDU based on the second Ethernet frame according to the conversion process from the Ethernet frame to the MPDU described above. At this time, the TIDs of the first MPDU and the second MPDU are different. Therefore, when aggregating the first MPDU and the second MPDU, it is necessary to modify the TID value. After modifying the TID, the TIDs of the first MPDU and the second MPDU are the same, and the first MPDU and the second MPDU can be aggregated together. Therefore, the TIDs of the first MPDU and the second MPDU in the aggregated A-MPDU are the same.
[0100] For another example, when the Ethernet frames are cached in the buffer queue of the AP, when the AP determines the queue to be sent, the Ethernet frames in the queue can be referred to as the first Ethernet frames. The TID value of the data to be sent can be determined according to the mapping relationship between the priority of the first Ethernet frames and the TID. The AP can also determine the first Ethernet frames and the second Ethernet frames according to the pre-stored policy, and can obtain the first MPDU based on the first Ethernet frames according to the conversion process of the Ethernet frames to the MPDU described above. When obtaining the second MPDU based on the second Ethernet frames, the determined TID value of the data to be sent can be directly added to the MAC header added to the A-MSDU or MSDU. At this time, the TIDs of the first MPDU and the second MPDU are the same. Therefore, when aggregating the first MPDU and the second MPDU, the TID value does not need to be modified. The first MPDU and the second MPDU can be directly aggregated together. Therefore, the TIDs of the first MPDU and the second MPDU in the aggregated A-MPDU are the same.
[0101] For another example, the AP receives the first Ethernet frame and the second Ethernet frame, and obtains the first MPDU based on the first Ethernet frame and the second MPDU based on the second Ethernet frame according to the conversion process of the Ethernet frame to the MPDU described above. In this case, the MPDUs are cached in the buffer queue of the AP. At this time, the TIDs of the first MPDU and the second MPDU are different. Therefore, when aggregating the first MPDU and the second MPDU, the TID value needs to be modified. After modifying the TID, the TIDs of the first MPDU and the second MPDU are the same, and the first MPDU and the second MPDU can be aggregated together. Therefore, the TIDs of the first MPDU and the second MPDU in the aggregated A-MPDU are the same.
[0102] When the TID value needs to be modified, in one possible case, before aggregating the first MPDU and the second MPDU, the AP modifies the TID of the second MPDU to the same value as the TID of the first MDPU.
[0103] Regarding the modification of the TID of the second MPDU, the corresponding relationship between the priority of the first Ethernet frame and the TID of the first MPDU is in the mapping relationship, but the corresponding relationship between the priority of the second Ethernet frame and the TID of the second MPDU is different from any corresponding relationship in the mapping relationship. The above mapping relationship can specifically be the corresponding relationship between the priority of the Ethernet frame and the TID of the MPDU described above. For example, it can be the mapping relationship between UP and TID shown in Table 1 above. The AP can also specify different mapping policies for the priority of the data frames. This application is not limited to the mapping relationship shown in Table 1 and should not impose any limitations on this application.
[0104] The AP receives Ethernet frames with different priorities and aggregates the MPDUs encapsulated from Ethernet frames with different priorities together, enabling MPDUs with different priorities to be transmitted through the same air interface. In this way, the air interface resources that were originally only used to transmit data of the same priority can be used to transmit data of different priorities, that is, it becomes possible to transmit more data through the same air interface resources. Therefore, the air interface resources can be utilized more efficiently, thereby improving the utilization rate of the air interface resources to a certain extent.
[0105] On the other hand, as mentioned above, after the AP receives multiple data with different priorities, it can aggregate the data with the same TID in the same queue for transmission. That is to say, the data of the same STA may also exist in multiple queues. The AP can poll in these multiple queues and alternately allocate opportunities for each queue to use the air interface resources to transmit data.
[0106] For the convenience of understanding and description hereinafter, the first MPDU and the second MPDU are denoted as the MPDUs sent to the same STA. The first MPDU is denoted as the MPDU in the queue with the air interface contention opportunity, and this queue is denoted as the first queue. The second MPDU is denoted as the MPDU in the queue without the air interface contention opportunity, and this queue is denoted as the second queue.
[0107] In fact, when the AP aggregates the first MPDU and the second MPDU, it does not necessarily only aggregate the first MPDU and the second MPDU. The A-MPDU also includes other MPDUs to make the number of MPDUs in the A-MPDU reach the maximum aggregation depth.
[0108] In other words, the A-MPDU sent by the AP in step 330 may include the first MPDU, the second MPDU, and other MPDUs. The other MPDUs may include MPDUs that are different from both the first MPDU and the second MPDU in terms of priority, or may include MPDUs with the same priority as the first MPDU and / or MPDUs with the same priority as the second MPDU.
[0109] The maximum aggregation depth specifically refers to the maximum number of MPDUs that a STA can receive at one time. The maximum aggregation depth can be negotiated and determined by the AP and the STA. For example, the AP can receive indication information of the maximum aggregation depth from the STA and obtain the value of the maximum aggregation depth based on this indication information of the maximum aggregation depth. For the convenience of description hereinafter, the maximum aggregation depth is denoted as M, and M is an integer greater than 1.
[0110] In a possible implementation manner, the AP aggregates the MPDUs according to the principle of preferentially aggregating the MPDUs in its own queue.
[0111] One possible scenario is that when the number of Ethernet frames stored in the AP with the same priority as the first Ethernet frame is less than the maximum aggregation depth, the A-MPDU includes all the Ethernet frames stored in the AP with the same priority as the first Ethernet frame. In other words, other MPDUs may specifically include all MPDUs of the first priority except the first MPDU.
[0112] For example, there are N MPDUs of the first priority in the first queue, where N < M. The N MPDUs in this first queue can be aggregated with the second MPDU. It can be understood that the N MPDUs include the first MPDU.
[0113] Optionally, in addition to putting the MPDUs of the first priority into the first queue, the AP can select the Ethernet frames to be added to the A-MPDU from the Ethernet frames with different priorities from the first Ethernet frame in the order of the priorities of the stored Ethernet frames from high to low.
[0114] For example, when there are MPDUs with three different priorities corresponding to TID values 4, 5, and 6 respectively in the buffer queue of the AP to be sent to the STA, assume the AP determines the MPDU with TID value 5 as the first MPDU. At this time, the number of MPDUs with TID value 5 is N, and N < M. Assume the queue where the MPDUs with TID value 5 are located is the first queue, then the queues where the MPDUs with TID values 4 and 6 are located can both be called the second queue. Since N < M and the maximum aggregation depth is not reached, the AP can select M - N MPDUs from the second queue in the order of the priorities of the Ethernet frames from high to low, and aggregate these M - N MPDUs with the first MPDU. These M - N MPDUs can be regarded as the second MPDU.
[0115] Specifically, in this example, the priority of the MPDU with TID value 6 is higher than that of the MPDU with TID value 4. Therefore, if the number of MPDUs with TID value 6 is greater than or equal to M - N, then based on these M - N MPDUs with TID value 6 and the above N MPDUs with TID value 5 are aggregated together, in this way, the first queue reaches the maximum aggregation depth.
[0116] If the number of MPDUs with TID value 6 is less than M - N, but the sum of the number of MPDUs with TID value 6 and the number of MPDUs with TID value 4 is greater than or equal to M - N, then the AP can also determine one or more MPDUs with TID value 4 from the second queue to make up M - N MPDUs. These M - N MPDUs are aggregated with the N MPDUs in the first queue, so that the A-MPDU reaches the maximum aggregation depth.
[0117] If the sum of the number of MPDUs corresponding to the TID value of 6 and the number of MPDUs corresponding to the TID value of 4 is less than M - N, then all the MPDUs obtained based on the MPDUs corresponding to the TID value of 6 and the MPDUs corresponding to the TID value of 4 can be aggregated with the first MPDU, and there is no need to limit that the maximum aggregation depth must be reached.
[0118] In fact, the MPDUs in the cache queue of the AP are not limited to the three types of MPDUs corresponding to TIDs of 4, 5, and 6. This application does not make any limitations in this regard. No matter how many different-priority MPDUs exist in the cache queue, as long as the idea of the above technical solution is followed, the aggregation depth of the queue can be made to reach the maximum aggregation depth as much as possible.
[0119] When the number of MPDUs in the first queue is less than the maximum aggregation depth, by selecting at least one MPDU other than the MPDUs in the first queue and aggregating it with the first MPDU in the order of the priorities of the MPDUs in the cache queue from high to low, the aggregation quantity of the MPDUs in the first queue can be made to reach the maximum aggregation depth as much as possible. On the premise of ensuring the transmission of the MPDUs in the first queue, a transmission opportunity is also provided for the other MPDUs except those in the first queue.
[0120] In this way, the air interface resources that were originally only used to transmit data of the same priority can be used to transmit data of different priorities, that is, it becomes possible to transmit more data through the same air interface resources. Therefore, the air interface resources can be utilized more efficiently, and thus the utilization rate of the air interface resources can be improved to a certain extent.
[0121] In another possible implementation, the AP aggregates the MPDUs according to the principle of reserving positions for the MPDUs with high priorities.
[0122] The AP can reserve positions for the Ethernet frames joining the A-MPDU according to the first quantity and the second quantity. The first quantity is the reserved quantity corresponding to the first priority, and the second quantity is the reserved quantity corresponding to the second priority. The number of MPDUs with the first priority in the A-MPDU is less than or equal to the first quantity, and the number of MPDUs with the second priority in the A-MPDU is less than or equal to the second quantity.
[0123] Among them, the reserved quantity specifically refers to the quantity reserved for the MPDU, that is, the quantity of the MPDUs put into the queue during aggregation.
[0124] Reserving positions for the Ethernet frames joining the A-MPDU is also reserving positions for the MPDUs joining the A-MPDU.
[0125] The first quantity and the second quantity can be predefined in the form of a ratio. For example, the ratio of the first quantity to the second quantity can be 1:1, 2:1, etc. The embodiments of the present application do not limit this.
[0126] It should be noted that in addition to putting the MPDUs with the first priority into the first queue, the AP can select the Ethernet frames to be added to the A-MPDU from the Ethernet frames with priorities different from that of the first Ethernet frame in the order of the priorities of the stored Ethernet frames from high to low.
[0127] Therefore, the second priority can be higher than the first priority. That is to say, the priority of the Ethernet frame corresponding to the MPDU in the A-MPDU is not lower than the priority of the first Ethernet frame.
[0128] Of course, when the first priority is the highest priority, the second priority can also be lower than the first priority.
[0129] For example, when there are four different-priority MPDUs corresponding to TID values 4, 5, 6, and 7 in the buffer queue of the AP for the MPDUs to be sent to the STA, assuming the AP determines the MPDU with the TID value of 5 as the first MPDU, that is, the queue where the MPDU with the TID value of 5 is located can be the first queue, then the queues where the MPDUs with the TID values of 4, 6, and 7 are located can all be called the second queues. Assume that the ratio of the number of positions reserved for the first queue and the second queue is 1:1. Then, a certain number of first MPDUs are selected from the first queue, and a certain number of MPDUs with the TID values of 6 and 7 are selected from the second queue as the second MPDUs, so that the number of the second MPDUs forms a 1:1 ratio with the number of the first MPDUs. In this case, the sum of the number of the selected first MPDUs and the second MPDUs should be less than or equal to the maximum aggregation depth.
[0130] Another example is that when there are four MPDUs with different priorities corresponding to TID values 4, 5, 6, and 7 in the buffer queue of the AP for the MPDU to be sent to the STA, assuming the AP determines the MPDU corresponding to the TID value 7 as the first MPDU, that is, the queue where the MPDU corresponding to the TID value 7 is located can be regarded as the first queue, then the queues where the MPDUs corresponding to the TID values 4, 5, and 6 are located can all be referred to as the second queue. At this time, the priority corresponding to the TID value 7 is the first priority, and the AP may not reserve positions for MPDUs with priorities lower than the first priority. When the number of MPDUs with the first priority is equal to the maximum aggregation depth, the A-MPDU may include all the MPDUs with the first priority; when the number of MPDUs with the first priority is less than the maximum aggregation depth, the A-MPDU may include all the MPDUs with the first priority, and one or more MPDUs may also be selected from the queues of MPDUs with corresponding values less than 7 in priority and added to the A-MPDU in descending order of priority. In this case, except for the MPDUs with the first priority, the highest priority value of the selected MPDUs that can be added to the A-MPDU is 6, which is lower than the first priority.
[0131] By reserving positions for MPDUs with higher priorities, to a certain extent, it preferentially ensures that a certain number of MPDUs with higher priorities have the opportunity to be transmitted through the air interface resources. Moreover, the AP aggregates the MPDUs encapsulated from Ethernet frames with different priorities together, enabling the air interface resources originally only used for transmitting MPDUs with the same priority to be used for transmitting MPDUs with different priorities, thereby improving the utilization rate of the air interface resources to a certain extent.
[0132] Figure 4 It is a schematic block diagram of the data transmission device provided by the embodiments of the present application. As Figure 4 shown, the data transmission device 400 may include: a processing unit 410 and a transceiver unit 420. The data transmission device 400 may be used to execute the execution steps of the AP in the data transmission method 300.
[0133] When the data transmission device 400 is used to execute the execution steps of the AP in the data transmission method 300, wherein the transceiver unit 420 may be used to receive a first Ethernet frame and a second Ethernet frame, and the first Ethernet frame and the second Ethernet frame have different priorities; the transceiver unit 420 may also send an A-MPDU, and the A-MPDU includes a first MPDU and a second MPDU; the processing unit 410 may be used to obtain the first MPDU based on the first Ethernet frame and obtain the second MPDU based on the second Ethernet frame.
[0134] Optionally, the correspondence between the priority of the first Ethernet frame and the TID of the first MPDU is in the mapping relationship; the correspondence between the priority of the second Ethernet frame and the TID of the second MPDU is different from any correspondence in the mapping relationship, where the mapping relationship includes correspondences between multiple priorities and multiple TIDs.
[0135] Optionally, the processing unit 410 may further be configured to modify the TID of the second MPDU so that the modified TID of the second MPDU is the same as the TID of the first MPDU.
[0136] Optionally, the A-MPDU further includes other MPDUs other than the first MPDU and the second MPDU, and the number of MPDUs in the A-MPDU reaches the maximum aggregation depth.
[0137] Optionally, the number of Ethernet frames with the same priority as the first Ethernet frame stored in the AP is less than the maximum aggregation depth.
[0138] Optionally, the A-MPDU includes all Ethernet frames stored in the AP that have the same priority as the first Ethernet frame.
[0139] Optionally, the processing unit 410 may further be configured to reserve positions for Ethernet frames to be added to the A-MPDU according to a first quantity and a second quantity, where the first quantity is the reserved quantity corresponding to the priority of the first Ethernet frame, the second quantity is the reserved quantity corresponding to the priority of the second Ethernet frame, the number of Ethernet frames with the same priority as the first Ethernet frame in the A-MPDU is less than or equal to the first quantity, and the number of Ethernet frames with the same priority as the second Ethernet frame in the A-MPDU is less than or equal to the second quantity.
[0140] Optionally, the priority of the Ethernet frame corresponding to any MPDU in the A-MPDU is not lower than the priority of the first Ethernet frame.
[0141] Optionally, the processing unit 410 may further be configured to select Ethernet frames to be added to the A-MPDU from Ethernet frames with priorities different from that of the first Ethernet frame in the order of decreasing priority of the stored Ethernet frames.
[0142] Figure 5 It is another schematic block diagram of the data transmission device provided by the embodiments of the present application. The data transmission device 500 can be used to implement the functions of the AP in the above method. The data transmission device 500 can be a chip system. In the embodiments of the present application, the chip system can be composed of chips or can include chips and other discrete devices.
[0143] As shown Figure 5 in FIG. 500, the data transmission device 500 may include at least one processor 510 for implementing the functions of the AP in the method provided in the embodiments of the present application.
[0144] For example, when the data transmission device 500 is used to implement the functions of the AP in the method provided in the embodiments of the present application, the processor 510 may be used to receive a first Ethernet frame and a second Ethernet frame; obtain a first MPDU based on the first Ethernet frame, and obtain a second MPDU based on the second Ethernet frame; send an A-MPDU. Among them, the priorities of the first Ethernet frame and the second Ethernet frame are different, and the A-MPDU includes the first MPDU and the second MPDU.
[0145] The data transmission device 500 may further include at least one memory 520 for storing program instructions and / or data. The memory 520 is coupled to the processor 510. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms for information interaction between devices, units or modules. The processor 510 may cooperate with the memory 520. The processor 510 may execute the program instructions stored in the memory 520. At least one of the at least one memories may be included in the processor.
[0146] The data transmission device 500 may further include a communication interface 530 for communicating with other devices through a transmission medium, so that the devices in the data transmission device 500 can communicate with other devices. Exemplarily, when the data transmission device 500 is used to implement the functions of the AP in the method provided in the embodiments of the present application, the other device may be a wireless access point controller and / or an STA. The communication interface 530 may be, for example, a transceiver, an interface, a bus, a circuit or a device capable of implementing a transceiver function. The processor 510 may use the communication interface 530 to receive and transmit data and / or information, and is used to implement Figure 3 the method performed by the AP described in the corresponding embodiment.
[0147] In the embodiments of the present application, the specific connection medium between the above-mentioned processor 510, memory 520 and communication interface 530 is not limited. In the embodiments of the present application Figure 5 it is connected by a bus 540 between the processor 510, memory 520 and communication interface 530. The bus 540 is represented by a thick line in Figure 5 and the connection manners between other components are only for illustrative purposes and are not to be construed as limiting. The bus may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 5 only one thick line is used to represent it in, but it does not mean that there is only one bus or one type of bus.
[0148] The present application also provides a computer program product, which includes a computer program (which may also be referred to as code or instruction). When the computer program is run, it causes the computer to execute Figure 3 the method executed by the AP in the illustrated embodiment.
[0149] The processor in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the integrated logic circuit in the hardware of the processor or the instruction in the form of software. The above processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by the hardware decoding processor, or by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method.
[0150] The memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM). By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to, these and any other suitable types of memories.
[0151] As used in this specification, terms such as "unit", "module", etc. may be used to represent computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution.
[0152] Those of ordinary skill in the art will realize that the various illustrative logical blocks and steps described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled professionals can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application. In several embodiments provided in this application, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical functional division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0153] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0154] In addition, the functional units in each embodiment of this application can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit.
[0155] In the above embodiments, the functions of each functional unit can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using 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 instructions (programs). When the computer program instructions (programs) are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)), etc.
[0156] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0157] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and all of them should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A data transmission method, characterized in that, including: An access point AP receives a first Ethernet frame and a second Ethernet frame, and the priorities of the first Ethernet frame and the second Ethernet frame are different; The AP obtains a first Medium Access Control Protocol Data Unit MPDU based on the first Ethernet frame, and obtains a second MPDU based on the second Ethernet frame. The correspondence between the priority of the first Ethernet frame and the Traffic Identifier TID of the first MPDU is different from the correspondence between the priority of the second Ethernet frame and the Traffic Identifier TID of the second MPDU; The AP modifies the TID of the second MPDU so that the TID of the modified second MPDU is the same as the TID of the first MPDU; The AP sends an Aggregate MPDU A-MPDU, and the A-MPDU includes the first MPDU and the second MPDU, wherein the Traffic Identifier TIDs of the first MPDU and the second MPDU are the same.
2. The method according to claim 1, characterized in that, The correspondence between the priority of the first Ethernet frame and the TID of the first MPDU is in the mapping relationship; the correspondence between the priority of the second Ethernet frame and the TID of the second MPDU is different from any correspondence in the mapping relationship; wherein, the mapping relationship includes correspondences between multiple priorities and multiple TIDs.
3. The method according to claim 1, wherein The A-MPDU further includes other MPDUs in addition to the first MPDU and the second MPDU, and the number of MPDUs in the A-MPDU reaches the maximum aggregation depth.
4. The method according to claim 3, wherein The number of Ethernet frames with the same priority as the first Ethernet frame stored in the AP is less than the maximum aggregation depth.
5. The method according to claim 4, wherein The A-MPDU includes all the Ethernet frames stored in the AP with the same priority as the first Ethernet frame.
6. The method according to claim 5, wherein The method further includes: The AP reserves positions for the Ethernet frames to be added to the A-MPDU according to a first quantity and a second quantity. The first quantity is the reserved quantity corresponding to the priority of the first Ethernet frame, and the second quantity is the reserved quantity corresponding to the priority of the second Ethernet frame. The number of Ethernet frames with the same priority as the first Ethernet frame in the A-MPDU is less than or equal to the first quantity, and the number of Ethernet frames with the same priority as the second Ethernet frame in the A-MPDU is less than or equal to the second quantity.
7. The method according to claim 6, characterized in that, The priority of the Ethernet frame corresponding to any MPDU in the A-MPDU is not lower than the priority of the first Ethernet frame.
8. The method according to any one of claims 5 to 7, characterized in that The method further includes: The AP selects the Ethernet frames to be added to the A-MPDU from the Ethernet frames with different priorities from the first Ethernet frame in the order of the priorities of the stored Ethernet frames from high to low.
9. A data transmission device, characterized in that, including units for implementing the steps in the method according to any one of claims 1 to 8.
10. A data transmission device, characterized in that, including: a memory for storing a computer program; a processor for calling the computer program in the memory so that the device executes the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, Comprising a computer program which, when run, causes a computer to execute the method according to any one of claims 1 to 8.
12. A computer program product, characterized in that, Comprising a computer program which, when run, causes a computer to execute the method according to any one of claims 1 to 8.
13. A chip system, characterized in that, The chip system comprises at least one processor for executing the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method and device for data communication in a communication network
US20150146648A1