Data transmission method and apparatus, related device, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE COMM LTD RES INST
- Filing Date
- 2021-08-24
- Publication Date
- 2026-05-29
AI Technical Summary
The existing MAC PDU transmission method based on logical channels cannot provide accurate quality of service guarantees, cannot meet the diverse QoS requirements of data packets in 5G and 6G networks, and increases the overhead of MAC PDUs.
Transmission is performed in units of data packets at the MAC layer. MAC sub-PDUs are constructed based on the transmission priority of MAC SDUs and carry indication information to achieve accurate QoS guarantees, including the length, type, and location of the MAC SDU.
It achieves accurate QoS guarantee for data packets, reduces MAC PDU overhead, and adapts to the diverse data packet requirements in 5G and 6G networks.
Smart Images

Figure CN115720125B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication, and in particular to a data transmission method, apparatus, related equipment, and storage medium. Background Technology
[0002] In related technologies, Media Access Control (MAC) Protocol Data Units (PDUs) are always transmitted via logical channels (LCs), meaning MAC PDUs are assembled in units of LCs. However, with the development of mobile communication technology, using LCs as the granularity for Quality of Service (QoS) transmission guarantees cannot provide precise QoS guarantees for data packets. Summary of the Invention
[0003] To address the related technical problems, embodiments of this application provide a data transmission method, apparatus, related devices, and storage medium.
[0004] The technical solution of this application embodiment is implemented as follows:
[0005] This application provides a data transmission method applied to a sending device, including:
[0006] Construct a MAC PDU; wherein, when constructing a MAC PDU, a MAC sub-PDU containing the MAC SDU is constructed according to the transmission priority of the MAC Service Data Unit (SDU);
[0007] Send the MAC PDU.
[0008] In the above scheme, the step of constructing a MAC sub-PDU containing the MAC SDU according to the transmission priority of the MAC SDU includes:
[0009] Based on the QoS level of the MAC SDU, construct a MAC sub-PDU containing the MAC SDU.
[0010] In the above scheme, the MAC sub-PDU containing the MAC SDU carries at least first information, which indicates the length of the corresponding MAC SDU.
[0011] In the above scheme, the MAC sub-PDU containing the MAC SDU also carries second information, which indicates the size of the length of the corresponding MAC SDU.
[0012] In the above scheme, when constructing the MAC PDU, a MAC sub-PDU containing the MAC control element CE is also constructed.
[0013] In the above scheme, each MAC sub-PDU carries third information, which indicates the category of the corresponding MAC sub-PDU.
[0014] In the above scheme, the MAC sub-PDU containing the MAC CE carries at least a fourth piece of information; the fourth piece of information indicates the length of the corresponding MAC CE.
[0015] In the above scheme, the MAC CE containing the MAC CE also carries fifth information; the fifth information indicates the size of the length of the corresponding MAC CE.
[0016] In the above scheme, a MAC PDU contains a MAC sub-PDU that contains at least one MAC SDU.
[0017] In the above scheme, each MAC sub-PDU carries at least a sixth piece of information; among which,
[0018] For a MAC sub-PDU containing a MAC SDU, the sixth information indicates the number of MAC SDUs in the MAC sub-PDU;
[0019] For a MAC sub-PDU that includes a MAC CE, the sixth information indicates the type of the MAC CE.
[0020] In the above scheme, each MAC sub-PDU carries a seventh piece of information; among which,
[0021] For a MAC sub-PDU containing MAC SDUs, the sixth information indicates the number of partial MAC SDUs in the MAC sub-PDU, and the seventh information indicates the length of the sixth information;
[0022] For a MAC sub-PDU containing a MAC CE, the sixth information indicates the type of a MAC CE, and the seventh information indicates the length of the sixth information.
[0023] In the above scheme, the MAC sub-PDU containing the MAC CE is located at the beginning, middle, or end of the MAC PDU.
[0024] This application also provides a data transmission method applied to a receiving device, including:
[0025] Receive MAC PDU; in the MAC PDU, the MAC sub-PDU containing the MAC SDU is assembled according to the transmission priority of the MAC SDU.
[0026] In the above scheme, the MAC sub-PDU containing the MAC SDU is constructed according to the QoS level of the MAC SDU.
[0027] In the above scheme, the MAC sub-PDU containing the MAC SDU carries first information, which indicates the length of the corresponding MACSDU.
[0028] In the above scheme, the MAC sub-PDU containing the MAC SDU also carries second information, which indicates the size of the MACSDU length.
[0029] In the above scheme, the MAC PDU also includes a MAC sub-PDU containing a MAC CE.
[0030] In the above scheme, each MAC sub-PDU carries third information, which indicates the category of the corresponding MAC sub-PDU.
[0031] In the above scheme, the MAC sub-PDU containing the MAC CE carries at least a fourth piece of information; the fourth piece of information indicates the length of the corresponding MAC CE.
[0032] In the above scheme, the MAC CE containing the MAC CE also carries fifth information; the fifth information indicates the size of the length of the corresponding MAC CE.
[0033] In the above scheme, a MAC PDU contains a MAC sub-PDU that contains at least one MAC SDU.
[0034] In the above scheme, each MAC sub-PDU carries at least a sixth piece of information; among which,
[0035] For a MAC sub-PDU containing a MAC SDU, the sixth information indicates the number of MAC SDUs in the MAC sub-PDU;
[0036] For a MAC sub-PDU that includes a MAC CE, the sixth information indicates the type of the MAC CE.
[0037] In the above scheme, each MAC sub-PDU carries a seventh piece of information; among which,
[0038] For a MAC sub-PDU containing MAC SDUs, the sixth information indicates the number of partial MAC SDUs in the MAC sub-PDU, and the seventh information indicates the length of the sixth information; the number of MACSDUs in the MAC sub-PDU is determined using the sixth and seventh information.
[0039] For a MAC sub-PDU containing a MAC CE, the sixth information indicates the type of a MAC CE, and the seventh information indicates the length of the sixth information; the types of all MAC CEs in the MAC sub-PDU are determined using the sixth and seventh information.
[0040] In the above scheme, the MAC sub-PDU containing the MAC CE is located at the beginning, middle, or end of the MAC PDU.
[0041] This application also provides a data transmission device, including:
[0042] The assembly unit is used to assemble a MAC PDU; wherein, when assembling a MAC PDU, a MAC sub-PDU containing the MAC SDU is assembled according to the transmission priority of the MAC SDU.
[0043] A transmitting unit is used to transmit the MAC PDU.
[0044] This application also provides a data transmission device, including:
[0045] A receiving unit is used to receive MAC PDUs; in the MAC PDU, the MAC sub-PDU containing the MAC SDU is assembled according to the transmission priority of the MACSDU.
[0046] This application embodiment also provides a transmitting end device, including:
[0047] The first processor is used to construct a MAC PDU; wherein, when constructing a MAC PDU, a MAC sub-PDU containing the MAC SDU is constructed according to the transmission priority of the MAC SDU.
[0048] The first communication interface is used to send the MAC PDU.
[0049] This application embodiment also provides a receiving end device, including: a second processor and a second communication interface; wherein,
[0050] The second communication interface is used to receive MAC PDUs; in the MAC PDU, the MAC sub-PDU containing the MAC SDU is constructed according to the transmission priority of the MAC SDU.
[0051] This application also provides a transmitting end device, including: a first processor and a first memory for storing a computer program capable of running on the processor.
[0052] Wherein, when the first processor is used to run the computer program, it executes the steps of any of the methods described above on the sending end device side.
[0053] This application also provides a receiving end device, including: a second processor and a second memory for storing a computer program capable of running on the processor.
[0054] Wherein, when the second processor is used to run the computer program, it executes the steps of any of the methods described above on the receiving end device side.
[0055] This application embodiment also provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of any of the methods described above for the transmitting end device or for any of the methods described above for the receiving end device.
[0056] The data transmission method, apparatus, related devices, and storage medium provided in this application embodiment involve the sending device constructing a MAC PDU, which includes a MAC sub-PDU according to the transmission priority of the MAC SDU, and sending the MAC PDU to the receiving device. The solution provided in this application embodiment transmits data in units of data packets at the MAC layer, thereby achieving QoS transmission guarantee in units of data packets, and thus achieving accurate QoS guarantee for the air interface. Attached Figure Description
[0057] Figure 1 This is a schematic diagram of the data transmission method in an embodiment of this application;
[0058] Figure 2 This is a schematic diagram of the first MAC sub-PDU format in the embodiments of this application;
[0059] Figure 3 This is a schematic diagram of the second type of MAC sub-PDU format in an embodiment of this application;
[0060] Figure 4 This is a schematic diagram of the third type of MAC sub-PDU format in an embodiment of this application;
[0061] Figure 5 This is a schematic diagram of the fourth MAC sub-PDU format in the embodiments of this application;
[0062] Figure 6 This is a schematic diagram of the fifth type of MAC sub-PDU format in the embodiments of this application;
[0063] Figure 7 This is a schematic diagram of the sixth type of MAC sub-PDU format in the embodiments of this application;
[0064] Figure 8 This is a schematic diagram of a MAC PDU structure according to an embodiment of this application;
[0065] Figure 9 This is a schematic diagram of a data transmission device according to an embodiment of this application;
[0066] Figure 10 This is a schematic diagram of another data transmission device structure according to an embodiment of this application;
[0067] Figure 11 This is a schematic diagram of the transmitting end device structure according to an embodiment of this application;
[0068] Figure 12 This is a schematic diagram of the transmitting end device structure according to an embodiment of this application;
[0069] Figure 13 This is a schematic diagram of the data transmission system structure according to an embodiment of this application. Detailed Implementation
[0070] The present application will now be described in further detail with reference to the accompanying drawings and embodiments.
[0071] The construction of MAC PDUs based on LC units includes: determining the length of each MAC SDU and determining the format of the MAC PDU subheader. In the era of third-generation mobile communication technology (3G) and fourth-generation mobile communication technology (4G), the service types were fixed (only two major categories: voice services and data services), and the QoS requirements of the services were relatively low (including real-time performance, error rate, etc.). Therefore, air interface resource scheduling based on LC units to achieve QoS guarantee for services can meet the requirements.
[0072] However, in the era of fifth-generation mobile communication technology (5G), data services have been enhanced, including enhanced mobile bandwidth (eMBB) services. In addition, ultra-reliable and low-latency communications (URLLC) and massive machine-type communications (mMTC) services have been added. Furthermore, the industry has proposed three new service scenarios: uplink centric broadband communication (UCBC) between eMBB and mMTC; real-time broadband communication (RTBC) between eMBB and URLLC; and the newly added communication-aware fusion (HCS). These services, including Sensing, place new demands on QoS. On the other hand, the goal of 5G networks is "Internet of Everything," which means a dramatic increase in the types of terminals providing network services, from 3G / 4G handheld terminals (i.e., mobile phones) to various types of IoT terminals, vehicles, people, devices, and furniture. The network architecture and protocol stack functions inherited from 4G networks are no longer sufficient to meet the needs of the services they will provide. In other words, the 5G Radio Access Network (RAN) architecture and protocol stack functions need to be redesigned to meet these new requirements; this is precisely the task that the RAN in sixth-generation mobile communication technology (6G) must accomplish.
[0073] The MAC PDU format described above, which uses LC units, limits the MAC layer to QoS transmission guarantees only at the LC granularity. This leads to the following problems:
[0074] 1. In 5G and 6G networks, data packets carried on LC are transmitted in units of services. Different data packets within a service require different QoS transmission guarantees, meaning that the data packets transmitted on each LC are diverse, making precise guarantees impossible and resulting in inaccurate QoS guarantees. Furthermore, it is impossible to ensure high-quality transmission of important data packets carried on LC. At the same time, the terminal cannot accurately request uplink resource authorization from the base station for transmitting data packets with high guarantee requirements.
[0075] 2. When transmitting data in units of LC, a large amount of querying and traversal work is required to count the amount of data in each LC and the amount of data that can be sent;
[0076] 3. When transmitting data in units of LC, the MAC PDU needs to carry the LC ID, which increases the overhead of the MAC PDU.
[0077] Based on this, in various embodiments of this application, data transmission is performed in units of data packets at the MAC layer, thereby achieving QoS transmission guarantee in units of data packets, and thus achieving accurate QoS guarantee for the air interface.
[0078] This application provides a data transmission method applied to a sending device, such as... Figure 1 As shown, the method includes:
[0079] Step 101: Construct a MAC PDU; wherein, when constructing a MAC PDU, a MAC sub-PDU containing the MAC SDU is constructed according to the transmission priority of the MAC SDU;
[0080] Step 102: Send the MAC PDU.
[0081] In practical applications, in the uplink direction, the transmitting device is a terminal (also known as a user equipment (UE) or user, etc.), and the receiving device is a network device, specifically a base station; correspondingly, in the downlink direction, the transmitting device is a network device, and the receiving device is a terminal.
[0082] The transmission priority of a MAC SDU can be reflected by the QoS level (also known as the QoS guarantee priority).
[0083] Based on this, in one embodiment, a MAC sub-PDU (which can be referred to as a MAC sub PDU) is constructed by comprising the MAC SDU according to the QoS level (also known as the QoS guarantee level) of the MAC SDU. The QoS level of the MAC SDU can be understood as the QoS requirements of each SDU during transmission at the MAC layer and lower layers (i.e., the air interface). It can be identified by one or more parameters, such as latency, number of transmissions, bit rate, data block size, modulation scheme, etc. This application does not limit the division of QoS levels in its embodiments.
[0084] In practical applications, the sending device can assemble MAC sub-PDUs according to the QoS level of the MAC SDU from high to low. Specifically, MAC SDUs with the same QoS level can be grouped into one category to form the number of data packets of that QoS level, and then sorted from high to low according to the QoS level, with data packets (i.e., MAC SDUs) with higher QoS levels being sent first.
[0085] MAC sub-PDUs can be classified as control PDUs and data PDUs. Control PDUs are those containing MAC CEs (or MAC CE PDUs), while data PDUs are those containing MAC SDUs (or MAC SDUs). Each MAC sub-PDU carries classification information to indicate its category (or type), specifically whether it is a MAC CE PDU or a MAC SDU.
[0086] Based on this, in one embodiment, each MAC sub-PDU carries third information, which indicates the category of the corresponding MAC sub-PDU.
[0087] For example, as shown in Table 1, the subheader of each MAC sub-PDU can carry the D / C field.
[0088] Bit Description 0 Control PDU 1 Data PDU
[0089] Where D stands for Data PDU, identifying the MAC SDU; and C stands for Control PDU, identifying the MAC CE. The length of the D / C field can be 1 bit. When the D / C field is set to 0, it represents a control PDU; when it is set to 1, it represents a data PDU.
[0090] Accordingly, when constructing a MAC PDU, the transmitting device also constructs a MAC sub-PDU containing a MAC CE.
[0091] For each MAC sub-PDU, the length of the MAC SDU or MAC CE also needs to be indicated.
[0092] Accordingly, in one embodiment, a MAC sub-PDU containing a MAC SDU carries at least first information, the first information indicating the length of the corresponding MAC SDU; correspondingly, a MAC sub-PDU containing a MAC CE carries at least fourth information, the fourth information indicating the length of the corresponding MAC CE.
[0093] In practical applications, similar to related technologies, the MAC sub-PDU can also carry an indication of the length of the MAC SDU or MAC CE, which can also be understood as an indication of the format of the length of the MAC SDU or MAC CE. For example, the length of the MAC SDU or MAC CE may be 16 bits or 8 bits.
[0094] Based on this, in one embodiment, the MAC sub-PDU containing the MAC SDU may also carry second information, the second information indicating the size of the length of the corresponding MAC SDU; correspondingly, the MAC CE containing the MAC CE may also carry fifth information, the fifth information indicating the size of the length of the corresponding MAC CE.
[0095] Here, for MAC CE, when MAC CE is a fixed-length MAC CE (i.e., not a variable-length MAC CE), the MAC sub-PDU containing MAC CE does not carry the fourth and fifth information.
[0096] Each MAC sub-PDU also needs to indicate the number of MAC SDUs or the identifier of the MAC CE.
[0097] Based on this, in one embodiment, each MAC sub-PDU carries at least sixth information; wherein,
[0098] For a MAC sub-PDU containing a MAC SDU, the sixth information indicates the number of MAC SDUs in the MAC sub-PDU;
[0099] For a MAC sub-PDU that includes a MAC CE, the sixth information indicates the type of the MAC CE.
[0100] Different types of MAC CEs can be set according to their purpose (i.e. function), and this application embodiment does not limit this.
[0101] For example, after introducing the above-mentioned indication information, the format of the MAC sub-PDU is as follows: Figure 2 , 3 As shown in Figure 4. Among them,
[0102] The L field (also known as the L domain, i.e., the first or fourth information): indicates the length of the data packet, which is an integer byte, 8 bits (i.e., 1 byte) or 16 bits (i.e., 2 bytes). It can also be 16 bits (2 bytes) or 24 bits (3 bytes), or other combinations, which are not limited in this application embodiment.
[0103] The F field (also known as the F domain, i.e., the second or fifth information): can have the same meaning as specified in related technologies, with a length of 1 bit, indicating the size of the length field (i.e., the L field) of the data packet, such as indicating whether the length field of the data packet is 16 bits or 8 bits.
[0104] For example, as shown in Table 2, when the F field is set to 0, it means that the size of the L field is n bytes. When the F field is set to 1, it means that the size of the L field is N bytes. Assuming that the length of the L field can be 8 bits or 16 bits, when the F field is set to 0, it means that the size of the L field is 1 byte. When the F field is set to 1, it means that the size of the L field is 2 bytes.
[0105] Bit Description 0 L = n Byte, n = 1, 2, 3, 4,.... Note: n is a constant 1 L = N Bye, N = 1, 2, 3, 4,.... Note: N is a constant
[0106] Table 2
[0107] The SDU Num / MAC CE ID field (also known as the SDU Num / MAC CE ID field, i.e., the sixth piece of information) is 6 bits long. When the D / C field indicates a data packet (i.e., a data PDU), the SDU Num / MAC CE ID field is the SDU Num, indicating the number of SDUs (also known as the number of SDUs). Since the SDU Num is 6 bits long, a maximum of 64 MAC SDU data packets can be generated. When the D / C field indicates a control packet (MAC CE PDU), the SDU Num / MAC CE ID field is the MAC CE ID, identifying the MAC CE identifier (e.g., ID). Because the MAC CE ID is 6 bits long, a maximum of 64 MAC CE types can be supported. Here, the number of SDUs can be understood as indicating the number of combinations of SDU data and the L field, and the MAC CE identifier identifies the type of MAC CE.
[0108] exist Figure 2 In the text, the L field is 16 bits in size. Figure 3 In this context, the L field is 8 bits in size.
[0109] like Figure 4 As shown, when the D / C field indicates a control packet (MAC CE PDU) and the MAC CE is a fixed-length MAC CE, the subheader of the MAC CE PDU does not contain the L field, and correspondingly, the F field is also absent.
[0110] As can be seen from the above description, assembling MAC PDUs on a packet-by-packet basis eliminates the need to carry LC IDs, thus saving MAC PDU overhead. Specifically, it reduces the overhead of the subheader of MAC sub-PDUs.
[0111] In practical applications, the size of the MAC PDU can be expanded as needed, thus enabling flexible use of the MAC PDU. In this case, the MAC sub-PDU needs to indicate the size of the MAC CE or MAC SDU.
[0112] Based on this, in one embodiment, each MAC sub-PDU carries a seventh piece of information; wherein,
[0113] For a MAC sub-PDU containing MAC SDUs, the sixth information indicates the number of partial MAC SDUs in the MAC sub-PDU, and the seventh information indicates the length of the sixth information;
[0114] For a MAC sub-PDU containing a MAC CE, the sixth information indicates the type of a MAC CE, and the seventh information indicates the length of the sixth information.
[0115] For example, after introducing the above-mentioned instruction information, the format of the MAC sub-PDU is as follows: Figure 5 , 6 As shown in Figure 7. Among them,
[0116] In the first byte, besides the D / C and F (or R) fields, bits E1 to E6 are extended fields indicating the length of the SDU Num / MAC CEID. These E1 to E6 bits combine to form a 6-bit E field (i.e., the seventh piece of information), identifying the SDU Num / MAC CEID length. For example, 111111 indicates a SDU Num / MAC CEID length of 64 units. For instance, assume the SDU Num / MAC CEID length unit is M bytes, where M = 1, 2, 3, ... In practical applications, the specific value of M can be fixed, i.e., M can be set to a constant. When M is 2 bytes, the MAC PDU length can be 128 bytes.
[0117] Among them, Figure 5 In the text, the L field is 16 bits in size. Figure 6 In this context, the L field is 8 bits.
[0118] like Figure 7 As shown, when the D / C field indicates a control packet (MAC CE PDU), and the MAC CE is a fixed-length MAC CE, the subheader of the MAC CE PDU does not contain an L field, and correspondingly, an F field is also absent. In other words, Figure 7 The format shown is mainly applicable to fixed-length MAC CEs. By extending the E field, the MAC CE type can be expanded, thus increasing the range of values for the MAC CE ID.
[0119] As can be seen from the above description, by extending the length of the SDU Num / MAC CE ID field, the subheader of the MAC subPDU can be flexibly extended, which can meet the needs of on-demand data packet increases or MACCE type surges in networks (such as 6G networks).
[0120] By way of example, using the MAC PDU construction method provided in the embodiments of this application, the following can be obtained: Figure 8 The MAC PDU shown.
[0121] In the embodiments of this application, when constructing a MAC PDU, a MAC PDU includes a MAC sub-PDU that contains at least one MAC SDU. That is, a MAC PDU contains only one MAC sub-PDU that contains MAC SDUs, and the MAC sub-PDU contains all the MAC SDUs.
[0122] In this embodiment, the MAC sub-PDU containing the MAC CE is located at the beginning, middle, or end of the MAC PDU; that is, the MAC CE can be placed anywhere within the entire MAC PDU. Figure 8 In this configuration, the MAC CE is located at the beginning of the MAC PDU. For example, when the MAC sub-PDU containing the MAC CE is located in the middle of the MAC PDU, the MAC sub-PDU containing the MAC SDU can be placed at the beginning of the MAC PDU, the MAC sub-PDU containing the MAC CE can be placed after the MAC sub-PDU containing the MAC SDU and located in the middle of the MAC PDU, and the MAC sub-PDU containing padding can be placed at the end of the MAC PDU. Conversely, when the MAC sub-PDU containing the MAC CE is located at the end of the MAC PDU, the MAC sub-PDU containing the MAC SDU can be placed at the beginning of the MAC PDU, the MAC sub-PDU containing padding can be placed in the middle of the MAC PDU, and the MAC sub-PDU containing the MAC CE can be placed after the MAC sub-PDU containing padding and located at the end of the MAC PDU.
[0123] Accordingly, embodiments of this application also provide a data transmission method applied to a receiving device, the method comprising:
[0124] Receive MAC PDU; in the MAC PDU, the MAC sub-PDU containing the MAC SDU is assembled according to the transmission priority of the MAC SDU.
[0125] In one embodiment, when each MAC sub-PDU carries the seventh information,
[0126] For a MAC sub-PDU containing MAC SDUs, the sixth information indicates the number of partial MAC SDUs in the MAC sub-PDU, and the seventh information indicates the length of the sixth information; the receiving device uses the sixth and seventh information to determine the number of MAC SDUs in the MAC sub-PDU;
[0127] For a MAC sub-PDU containing a MAC CE, the sixth information indicates a type of MAC CE, and the seventh information indicates the length of the sixth information; the receiving device uses the sixth and seventh information to determine the type of all MAC CEs in the MAC sub-PDU.
[0128] When using the solution of this application embodiment, the MAC of the uplink or downlink transmitting device is:
[0129] Assemble various MAC CEs according to requirements.
[0130] MAC sub PDUs are constructed according to the QoS guarantee priority of MAC SDUs from high to low.
[0131] For the MAC of the receiving device, whether it's uplink or downlink:
[0132] Combination Figures 2 to 7 Upon receiving a MAC PDU, for a MAC sub-PDU containing a MAC CE, the MAC sub-PDU is parsed, and the MAC CE ID is used to determine whether it is a fixed-length MAC CE (i.e., a fixed-length MAC CE) or a variable-length MAC CE (i.e., a variable-length MAC CE). If it is a variable-length MAC CE, the value of the F field is determined to obtain the length of the L field, thereby obtaining the content length of the MAC CE.
[0133] For a MAC sub-PDU containing a MAC SDU, parse the MAC sub-PDU, obtain the length L of the MAC SDU contained in the MAC sub-PDU according to the SDU Num, and then parse out the MAC SDU one by one according to the value of L and send it to the upper layer.
[0134] The scheduling process of a MAC entity for a MAC PDU may include:
[0135] First, the MAC entity assigns a QoS level to each data packet based on the QoS guarantee requirements of each SDU. Then, data packets with the same QoS level are grouped together to determine the data quantity for that QoS level. These packets are then sorted from highest to lowest QoS level, with higher-level packets sent first. Specifically, MACSDUs currently being retransmitted in Hybrid Automatic Repeat Request (HARQ) are considered valid data and included in the total data volume, with the highest priority. Furthermore, in practical applications, new data is allowed to preempt retransmitted data in HARQ. After scheduling and obtaining available data for transmission, a MAC PDU is constructed.
[0136] During the PDU scheduling process described above, the MAC entity sorts data packets according to QoS levels. Here, QoS level refers to the QoS guarantee priority for the air interface after the MAC entity modifies the priority based on the QoS guarantee requirements carried by each data packet when it is transmitted from the upper layer to the MAC layer, according to the current air interface data transmission capacity. For example, it may perform rate clipping to average the data packet rate; for example, a rate of 100Mbps means a rate of 100Mbits within 1 second. If there are only 100Mbits of data in 1ms, peak clipping can be performed, that is, the data is sent to the air interface in multiple 1ms intervals. The specific processing procedure for modifying the QoS guarantee priority in this embodiment is not limited.
[0137] The data transmission method provided in this application embodiment involves the sending device constructing a MAC sub-PDU containing the MAC SDU according to the sending priority of the MAC SDU when constructing the MAC PDU; and sending the MAC PDU to the receiving device. The scheme provided in this application embodiment transmits data in units of data packets at the MAC layer, thereby achieving QoS transmission guarantee in units of data packets, and thus achieving accurate QoS guarantee for the air interface.
[0138] To implement the method of the embodiments of this application, the embodiments of this application also provide a data transmission device, which is disposed on the sending end device, such as... Figure 9 As shown, the device includes:
[0139] The assembly unit 901 is used to assemble a MAC PDU; wherein, when assembling a MAC PDU, a MAC sub-PDU containing the MAC SDU is assembled according to the transmission priority of the MAC SDU.
[0140] The transmitting unit 902 is used to transmit the MAC PDU.
[0141] In one embodiment, the assembly unit 901, when assembling a MAC PDU, also assembles a MAC sub-PDU containing a MAC CE.
[0142] In practical applications, the component unit 901 can be implemented by a processor in the data transmission device, and the sending unit 902 can be implemented by a communication interface in the data transmission device.
[0143] To implement the method on the receiving device side of this application embodiment, this application embodiment also provides a data transmission apparatus, disposed on the receiving device, such as... Figure 10 As shown, the device includes:
[0144] The receiving unit 1001 is used to receive MAC PDUs; in the MAC PDU, the MAC sub-PDU containing the MAC SDU is assembled according to the transmission priority of the MAC SDU.
[0145] In one embodiment, such as Figure 10 As shown, the device may also include;
[0146] Parsing unit 1002 is used to parse MAC PDU.
[0147] In one embodiment, each MAC sub-PDU carries a seventh piece of information; wherein,
[0148] For a MAC sub-PDU containing MAC SDUs, the sixth information indicates the number of MAC SDUs in the MAC sub-PDU, and the seventh information indicates the length of the sixth information; the parsing unit 1002 uses the sixth and seventh information to determine the number of MAC SDUs in the MAC sub-PDU;
[0149] For a MAC sub-PDU containing a MAC CE, the sixth information indicates the type of a MAC CE, and the seventh information indicates the length of the sixth information; the parsing unit 1002 uses the sixth and seventh information to determine the type of all MAC CEs in the MAC sub-PDU.
[0150] In practical applications, the receiving unit 1001 can be implemented by the communication interface in the data transmission device, and the parsing unit 1002 can be implemented by the processor in the data transmission device.
[0151] It should be noted that the data transmission device provided in the above embodiments is only illustrated by the division of the above program modules. In practical applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the data transmission device and the data transmission method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0152] Based on the hardware implementation of the above program modules, and in order to implement the method on the transmitting end device side of the embodiments of this application, the embodiments of this application also provide a transmitting end device, such as... Figure 11 As shown, the transmitting device 1100 includes:
[0153] The first communication interface 1101 is capable of exchanging information with the receiving device;
[0154] The first processor 1102 is connected to the first communication interface 1101 to enable information interaction with the receiving device and to execute the methods provided by one or more technical solutions on the sending device side when running a computer program.
[0155] The computer program is stored in the first memory 1103.
[0156] Specifically, the first processor 1102 is used to construct a MAC PDU; wherein, when constructing a MAC PDU, a MAC sub-PDU containing a MAC SDU is constructed according to the transmission priority of the MAC SDU;
[0157] The first communication interface 1101 is used to send the MAC PDU.
[0158] In one embodiment, when the first processor 1102 is used to construct a MAC PDU, it also constructs a MAC sub-PDU containing a MACCE.
[0159] It should be noted that the specific processing procedure of the first processor 1102 can be understood by referring to the above method.
[0160] Of course, in practical applications, the various components in the transmitting device 1100 are coupled together through the bus system 1104. It can be understood that the bus system 1104 is used to implement communication between these components. In addition to the data bus, the bus system 1104 also includes a power bus, a configuration bus, and a status signal bus. However, for clarity, in... Figure 11 The general designated all buses as Bus System 1104.
[0161] The first memory 1103 in this embodiment is used to store various types of data to support the operation of the transmitting device 1100. Examples of such data include any computer program used to operate on the transmitting device 1100.
[0162] The methods disclosed in the above embodiments of this application can be applied to the first processor 1102, or implemented by the first processor 1102. The first processor 1102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the first processor 1102. The first processor 1102 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 1102 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly reflected as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the first memory 1103. The first processor 1102 reads the information in the first memory 1103 and completes the steps of the aforementioned method in combination with its hardware.
[0163] In an exemplary embodiment, the transmitting device 1100 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.
[0164] Based on the hardware implementation of the above program modules, and in order to implement the method on the receiving end device side of the embodiments of this application, the embodiments of this application also provide a receiving end device, such as... Figure 12 The receiving device 1200 includes:
[0165] The second communication interface 1201 is capable of exchanging information with the sending device;
[0166] The second processor 1202 is connected to the second communication interface 1201 to enable information interaction with the transmitting device and to execute the methods provided by one or more technical solutions on the receiving device side when running a computer program.
[0167] The computer program is stored in the second memory 1203.
[0168] Specifically, the second communication interface 1201 is used to receive MAC PDUs; in the MAC PDU, the MAC sub-PDU containing the MAC SDU is constructed according to the transmission priority of the MAC SDU.
[0169] In one embodiment, the second processor 1202 is used to parse the MAC PDU.
[0170] In one embodiment, each MAC sub-PDU carries a seventh piece of information; wherein,
[0171] For a MAC sub-PDU containing MAC SDUs, the sixth information indicates the number of partial MAC SDUs in the MAC sub-PDU, and the seventh information indicates the length of the sixth information; the second processor 1202 uses the sixth and seventh information to determine the number of MAC SDUs in the MAC sub-PDU;
[0172] For a MAC sub-PDU containing a MAC CE, the sixth information indicates a type of MAC CE, and the seventh information indicates the length of the sixth information; the second processor 12022 uses the sixth and seventh information to determine the type of all MAC CEs in the MAC sub-PDU.
[0173] It should be noted that the specific processing procedures of the second processor 1202 and the second communication interface 1201 can be understood by referring to the above method.
[0174] Of course, in practical applications, the various components in the receiving device 1200 are coupled together through the bus system 1204. It can be understood that the bus system 1204 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1204 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in... Figure 12 The general labeled all buses as Bus System 1204.
[0175] The second memory 1203 in this embodiment is used to store various types of data to support the operation of the receiving device 1200. Examples of such data include any computer program used to operate on the receiving device 1200.
[0176] The methods disclosed in the embodiments of this application can be applied to the second processor 1202, or implemented by the second processor 1202. The second processor 1202 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the second processor 1202. The second processor 1202 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 1202 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the second memory 1203. The second processor 1202 reads the information in the second memory 1203 and completes the steps of the aforementioned method in combination with its hardware.
[0177] In an exemplary embodiment, the receiving device 1200 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, microprocessors, or other electronic components to perform the aforementioned method.
[0178] It is understood that the memories (first memory 1103, second memory 1203) in the embodiments of this application can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.
[0179] To implement the method provided in the embodiments of this application, the embodiments of this application also provide a data transmission system, such as... Figure 13 As shown, the system includes: a transmitting device 1301 and a receiving device 1302.
[0180] It should be noted that the specific processing procedures of the transmitting device 1301 and the receiving device 1302 have been described in detail above and will not be repeated here.
[0181] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium. For example, it may include a first memory 1103 storing a computer program, which can be executed by a first processor 1102 of a transmitting device 1100 to complete the steps described in the aforementioned transmitting device-side method. Another example is a second memory 1203 storing a computer program, which can be executed by a second processor 1202 of a receiving device 1200 to complete the steps described in the aforementioned receiving device-side method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
[0182] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0183] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.
[0184] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.
Claims
1. A data transmission method, characterized in that, Applied to transmitting devices, including: Construct a Media Access Control (MAC) Protocol Data Unit (PDU); when constructing a MAC PDU, construct a MAC sub-PDU containing the MAC SDU according to the transmission priority of the MAC Service Data Unit (SDU); Send the MAC PDU; wherein, The step of constructing a MAC sub-PDU containing the MAC SDU according to the transmission priority of the MAC SDU includes: Based on the QoS level of the MAC SDU, a MAC sub-PDU containing the MAC SDU is constructed; the MAC PDU does not carry the logical channel ID.
2. The method according to claim 1, characterized in that, The MAC sub-PDU containing the MAC SDU carries at least first information, which indicates the length of the corresponding MAC SDU.
3. The method according to claim 2, characterized in that, The MAC sub-PDU containing the MAC SDU also carries second information, which indicates the size of the length of the corresponding MAC SDU.
4. The method according to any one of claims 1 to 3, characterized in that, When constructing a MAC PDU, a MAC sub-PDU containing the MAC control element CE is also constructed.
5. The method according to claim 4, characterized in that, Each MAC sub-PDU carries third information, which indicates the category of the corresponding MAC sub-PDU.
6. The method according to claim 4, characterized in that, The MAC sub-PDU containing the MAC CE carries at least a fourth piece of information; the fourth piece of information indicates the length of the corresponding MAC CE.
7. The method according to claim 6, characterized in that, The MAC sub-PDU containing the MAC CE also carries fifth information; the fifth information indicates the size of the corresponding MAC CE length.
8. The method according to claim 4, characterized in that, A MAC PDU contains a MAC sub-PDU that contains at least one MACSDU.
9. The method according to claim 8, characterized in that, Each MAC sub-PDU carries at least a sixth piece of information; among which... For a MAC sub-PDU containing a MAC SDU, the sixth information indicates the number of MAC SDUs in the MAC sub-PDU; For a MAC sub-PDU that includes a MAC CE, the sixth information indicates the type of the MAC CE.
10. The method according to claim 9, characterized in that, Each MAC sub-PDU also carries a seventh piece of information; among which... For a MAC sub-PDU containing MAC SDUs, the sixth information indicates the number of partial MAC SDUs in the MAC sub-PDU, and the seventh information indicates the length of the sixth information; For a MAC sub-PDU containing a MAC CE, the sixth information indicates the type of a MAC CE, and the seventh information indicates the length of the sixth information.
11. The method according to claim 4, characterized in that, The MAC sub-PDU containing the MAC CE is located at the beginning, middle, or end of the MAC PDU.
12. A data transmission method, characterized in that, Applied to receiving devices, including: Receive MAC PDU; wherein, the MAC PDU containing the MAC SDU is constructed according to the transmission priority of the MAC SDU; wherein, The MAC sub-PDU containing the MAC SDU is constructed based on the QoS level of the MAC SDU; the MAC PDU does not carry the LC ID.
13. The method according to claim 12, characterized in that, The MAC sub-PDU containing the MAC SDU carries first information, which indicates the length of the corresponding MAC SDU.
14. The method according to claim 13, characterized in that, The MAC sub-PDU containing the MAC SDU also carries second information, which indicates the size of the MAC SDU length.
15. The method according to any one of claims 12 to 14, characterized in that, The MAC PDU also includes a MAC sub-PDU containing a MAC CE.
16. The method according to claim 15, characterized in that, Each MAC sub-PDU carries third information, which indicates the category of the corresponding MAC sub-PDU.
17. The method according to claim 15, characterized in that, The MAC sub-PDU containing the MAC CE carries at least a fourth piece of information; the fourth piece of information indicates the length of the corresponding MAC CE.
18. The method according to claim 17, characterized in that, The MAC sub-PDU containing the MAC CE also carries fifth information; the fifth information indicates the size of the corresponding MAC CE length.
19. The method according to claim 15, characterized in that, A MAC PDU contains a MAC sub-PDU that contains at least one MACSDU.
20. The method according to claim 19, characterized in that, Each MAC sub-PDU carries at least a sixth piece of information; among which... For a MAC sub-PDU containing a MAC SDU, the sixth information indicates the number of MAC SDUs in the MAC sub-PDU; For a MAC sub-PDU that includes a MAC CE, the sixth information indicates the type of the MAC CE.
21. The method according to claim 20, characterized in that, Each MAC sub-PDU also carries a seventh piece of information; among which... For a MAC sub-PDU containing MAC SDUs, the sixth information indicates the number of partial MAC SDUs in the MAC sub-PDU, and the seventh information indicates the length of the sixth information; the number of MAC SDUs in the MAC sub-PDU is determined using the sixth and seventh information. For a MAC sub-PDU containing a MAC CE, the sixth information indicates the type of a MAC CE, and the seventh information indicates the length of the sixth information; the types of all MAC CEs in the MAC sub-PDU are determined using the sixth and seventh information.
22. The method according to claim 15, characterized in that, The MAC sub-PDU containing the MAC CE is located at the beginning, middle, or end of the MAC PDU.
23. A data transmission device, characterized in that, include: The assembly unit is used to assemble a MAC PDU; wherein, when assembling a MAC PDU, a MAC sub-PDU containing the MAC SDU is assembled according to the transmission priority of the MAC SDU. The transmitting unit is used to transmit the MAC PDU; wherein, The step of constructing a MAC sub-PDU containing the MAC SDU according to the transmission priority of the MAC SDU includes: Based on the QoS level of the MAC SDU, a MAC sub-PDU containing the MAC SDU is constructed; the MAC PDU does not carry an LC ID.
24. A data transmission device, characterized in that, include: The receiving unit is used to receive MAC PDUs; In the MAC PDU, the MAC sub-PDU containing the MAC SDU is constructed according to the transmission priority of the MAC SDU; wherein, The MAC sub-PDU containing the MAC SDU is constructed based on the QoS level of the MAC SDU; the MAC PDU does not carry the LC ID.
25. A transmitting device, characterized in that, include: The first processor is used to construct a MAC PDU; wherein, when constructing a MAC PDU, a MAC sub-PDU containing the MAC SDU is constructed according to the transmission priority of the MAC SDU. The first communication interface is used to send the MAC PDU; wherein... The step of constructing a MAC sub-PDU containing the MAC SDU according to the transmission priority of the MAC SDU includes: Based on the QoS level of the MAC SDU, a MAC sub-PDU containing the MAC SDU is constructed; the MAC PDU does not carry an LC ID.
26. A receiving device, characterized in that, include: A second processor and a second communication interface; wherein... The second communication interface is used to receive MAC PDUs; in the MAC PDU, the MAC sub-PDU containing the MAC SDU is constructed according to the transmission priority of the MAC SDU; wherein, The MAC sub-PDU containing the MAC SDU is constructed based on the QoS level of the MAC SDU; the MAC PDU does not carry the LC ID.
27. A transmitting device, characterized in that, include: A first processor and a first memory for storing computer programs capable of running on the processor. Wherein, when the first processor is used to run the computer program, it performs the steps of the method according to any one of claims 1 to 11.
28. A receiving device, characterized in that, include: A second processor and a second memory for storing computer programs that can run on the processor. Wherein, when the second processor is used to run the computer program, it performs the steps of the method according to any one of claims 12 to 22.
29. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11, or the steps of the method according to any one of claims 12 to 22.