Data transmission method, data reception method, device, and storage medium

By redefining the MAC PDU format and eliminating air interface bearer information, the problem of high MAC PDU redundancy overhead is solved, thereby improving information transmission efficiency and enabling flexible adaptation of the protocol stack, making it suitable for transmitting various information types in 6G networks.

CN117097819BActive Publication Date: 2026-11-06CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210523862.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-13
Publication Date
2026-11-06
Estimated Expiration
2042-05-13

AI Technical Summary

Technical Problem

In existing technologies, the redundancy overhead of MAC PDU is relatively large and cannot be effectively reduced, affecting information transmission efficiency. Especially in 6G networks, when multiple information types need to be processed, the protocol stack lacks the flexibility to select on demand and the protocol layers lack connectionless or lightly connected capabilities.

Method used

By redefining the subheader of the MAC PDU, the LCID, channel, or bearer ID carried over the air interface are removed, and a new MAC PDU format is adopted, including a header unit and a MAC SDU. The header unit contains a type field, a length field, and a receiver indication field, which are used to indicate the sub-MAC PDU type and the target protocol layer, reducing redundancy overhead.

Benefits of technology

It reduces the redundancy overhead of MAC PDU, improves information transmission efficiency, supports the flexible transmission of multiple information types in 6G networks, and adapts to different business needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117097819B_ABST
    Figure CN117097819B_ABST
Patent Text Reader

Abstract

A data sending method, a data receiving method, a device and a storage medium, the method comprising: a first device generating a first media access control (MAC) protocol data unit (PDU) based on a first format of a sub-MAC PDU, the first MAC PDU comprising at least one sub-MAC PDU; and the first device sending the first MAC PDU to a second device. Embodiments of the application do not carry bearer information such as LCID, channel or bearer ID in the generated first MAC PDU, thereby reducing the redundancy overhead of the MAC PDU and providing information transmission efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of mobile communication technology, specifically to a data transmission method, a data reception method, a device, and a storage medium. Background Technology

[0002] To achieve the design goal of a Lite Network for next-generation mobile communications, a User Plane (UP) function is proposed to be introduced in Layer 3 (L3) for data processing.

[0003] In the Access Stratum (AS) Layer 3 (in 5G systems, the AS Layer 3 protocol only includes the RRC protocol sublayer), an UP function (denoted as L3UP) is introduced. In 3G / 4G / 5G systems, the L3 layer of the AS layer on the terminal side (the RRC protocol sublayer on the network side) only has the Control Plane (CP), that is, only the Radio Resource Control (RRC) protocol layer (or sublayer), which performs the radio resource control function.

[0004] Therefore, the packet processing function of L2 in the AS layer needs to be redesigned. The new L2 packet processing function mainly takes into account the characteristics of upper-layer service data and combines the channel characteristics of the lower-layer air interface to form QoS indicators and operations that take into account both air interface and service characteristics. For L3 in the AS layer, in addition to the traditional Radio Resource Control (RRC, L3's CP) function, a new L3 UP function is added to process data packets.

[0005] As the types of information that need to be transmitted in the network increase (e.g., 6G networks are inherently intelligent networks that need to generate measurement information according to their own operation), in addition to service data and RRC signaling, a lot of information needs to be transmitted between the AS layers on the terminal side and the network side, as well as within the AS layers. This includes AI model configuration or update interactions, measurement-based protocol sublayer state interactions, and selecting appropriate protocol sublayer functions according to service characteristics. All of this requires the network protocol stack to have the flexibility to select functions on demand, have a unified Protocol Data Unit (PDU) format with low redundancy overhead, and have connectionless or lightly connected connections between protocol layers. With the in-depth research into flexible network technologies, MAC PDUs need to be improved to reduce redundancy overhead. Summary of the Invention

[0006] At least one embodiment of this application provides a data transmission method, a data reception method, an apparatus, and a storage medium that can reduce the redundancy overhead of MAC PDUs.

[0007] To solve the above-mentioned technical problems, this application is implemented as follows:

[0008] In a first aspect, embodiments of this application provide a data transmission method, including:

[0009] The first device generates a first MAC PDU based on a first format of the Sub-Media Access Control (MAC) Protocol Data Unit (PDU), wherein the first MAC PDU includes at least one sub-MAC PDU.

[0010] The first device sends a first MAC PDU to the second device;

[0011] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0012] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0013] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0014] The length field size indicator field (F field) is used to indicate the size of the length field;

[0015] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0016] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0017] The header unit includes a first type field, a length field size indicator field (F field), a second type field, and a length field.

[0018] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0019] The first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU. The length field (L) is set in another byte that is different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0020] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0021] The header unit includes a first type field and a second type field, and there is a second correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field.

[0022] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0023] The first type field and the second type field are set in the first byte of the sub-MAC PDU.

[0024] Optionally, if the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU:

[0025] The header unit includes the first type field (D / C), the length field size indication field (F field), the receiving object indication field (CP / UP), and the length field (L).

[0026] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU, the first type field, the length field size indicator field (F field), the receiving object indicator field (CP / UP) and the first part of the length field (L) are set in the first byte of the sub-MAC PDU, and the remaining part of the length field (L) except for the first part is set in other bytes different from the first byte, and there is a third correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0027] Optionally, the length of the remaining part of the length field (L) excluding the first part is N bytes, where N is an integer greater than or equal to 0.

[0028] Optionally, the length field and the second type field share at least some fields.

[0029] Secondly, embodiments of this application provide a data receiving method including:

[0030] The second device receives a first MAC PDU sent by the first device, wherein the first MAC PDU includes at least one sub-MAC PDU, and each sub-MAC PDU is generated based on a first format of the sub-MAC PDU;

[0031] The second device parses the first MAC PDU according to the first format of the sub-MAC PDU;

[0032] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0033] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0034] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0035] The length field size indicator field (F field) is used to indicate the size of the length field;

[0036] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0037] Optionally, the second device parses the first MAC PDU according to the first format of the sub-MAC PDU, including:

[0038] The sub-MAC PDU type of the first sub-MAC PDU is determined based on the first type field (D / C) of the first sub-MAC PDU in the first MAC PDU;

[0039] Parse the first sub-MAC PDU based on the type of the sub-MAC PDU of the first sub-MAC PDU.

[0040] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0041] The header unit includes a first type field, a length field size indicator field (F field), a second type field, and a length field.

[0042] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0043] The first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU. The length field (L) is set in another byte that is different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0044] Optionally, based on the sub-MAC PDU type of the first sub-MAC PDU, the first sub-MAC PDU is parsed, including:

[0045] When the type of the first sub-MAC PDU is a control sub-MAC PDU, the first value of the length field size indicator field (F field) is obtained by parsing.

[0046] Based on the first value and the first correspondence, determine the first length of the length field (L);

[0047] Based on the first length, the value of the length field (L) is parsed to obtain the second length of the MAC SDU carried by the first sub-MAC PDU;

[0048] Based on the second length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the first MAC CE.

[0049] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0050] The header unit includes a first type field and a second type field, and there is a second correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field.

[0051] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0052] The first type field and the second type field are set in the first byte of the sub-MAC PDU.

[0053] Optionally, based on the sub-MAC PDU type of the first sub-MAC PDU, the first sub-MAC PDU is parsed, including:

[0054] When the type of the first sub-MAC PDU is a control sub-MAC PDU, the second value of the second type field is obtained by parsing.

[0055] Based on the second value and the second correspondence, determine the third length of the MAC SDU carried by the first sub-MAC PDU;

[0056] Based on the third length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the second MAC CE.

[0057] Optionally, if the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU:

[0058] The header unit includes the first type field (D / C), the length field size indication field (F field), the receiving object indication field (CP / UP), and the length field (L).

[0059] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU, the first type field, the length field size indicator field (F field), the receiving object indicator field (CP / UP) and the first part of the length field (L) are set in the first byte of the sub-MAC PDU, and the remaining part of the length field (L) except for the first part is set in other bytes different from the first byte, and there is a third correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0060] Optionally, the length of the remaining part of the length field (L) excluding the first part is N bytes, where N is an integer greater than or equal to 0.

[0061] Optionally, based on the sub-MAC PDU type of the first sub-MAC PDU, the first sub-MAC PDU is parsed, including:

[0062] When the type of the first sub-MAC PDU is a data sub-MAC PDU, the third value of the length field size indicator field (F field) is obtained by parsing.

[0063] Based on the third value and the third correspondence, determine the fourth length of the length field (L);

[0064] Based on the fourth length, the value of the length field (L) is parsed to obtain the fifth length of the MAC SDU carried by the first sub-MAC PDU;

[0065] Based on the fifth length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the first data MACSDU.

[0066] Optionally, the length field and the second type field share at least some fields.

[0067] Thirdly, embodiments of this application provide a first device, including a transceiver and a processor, wherein...

[0068] The processor is configured to generate a first MAC PDU based on a first format of a Sub-Media Access Control (MAC) Protocol Data Unit (PDU), wherein the first MAC PDU includes at least one sub-MAC PDU.

[0069] The transceiver is used to send a first MAC PDU to the second device;

[0070] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0071] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0072] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0073] The length field size indicator field (F field) is used to indicate the size of the length field;

[0074] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0075] Fourthly, embodiments of this application provide a second device, including a transceiver and a processor, wherein...

[0076] The transceiver is configured to receive a first MAC PDU sent by a first device, wherein the first MAC PDU includes at least one sub-MAC PDU, and each sub-MAC PDU is generated based on a first format of the sub-MAC PDU.

[0077] The processor is configured to parse the first MAC PDU according to the first format of the sub-MAC PDU;

[0078] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0079] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0080] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0081] The length field size indicator field (F field) is used to indicate the size of the length field;

[0082] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0083] Fifthly, embodiments of this application provide a communication device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method described above.

[0084] Sixthly, embodiments of this application provide a computer-readable storage medium storing a program that, when executed by a processor, implements the steps of the method described above.

[0085] Compared with the prior art, the data transmission method, data reception method, device and storage medium provided in the embodiments of this application do not carry bearer information such as LCID, channel or bearer ID in the generated first MAC PDU, thereby reducing the redundancy overhead of MAC PDU and improving information transmission efficiency. Attached Figure Description

[0086] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0087] Figure 1 A schematic diagram of the AS layer protocol stack function of a 6G network;

[0088] Figure 2 This is a schematic diagram of a flexible protocol stack for a 6G network.

[0089] Figures 3-9 Several example diagrams of the MAC PDU format provided for embodiments of this application;

[0090] Figure 10 This is a schematic flowchart of a data transmission method according to an embodiment of this application;

[0091] Figure 11 This is a schematic flowchart of a data receiving method according to an embodiment of this application;

[0092] Figure 12 This is a schematic diagram of the structure of a first device according to an embodiment of this application;

[0093] Figure 13 This is a schematic diagram of the structure of the first device according to another embodiment of this application;

[0094] Figure 14 This is a schematic diagram of the structure of a second device according to an embodiment of this application;

[0095] Figure 15 This is a schematic diagram of the structure of a second device according to another embodiment of this application;

[0096] Figure 16 This is a schematic diagram of the structure of the first device according to yet another embodiment of this application;

[0097] Figure 17 This is a schematic diagram of the structure of a second device according to yet another embodiment of this application. Detailed Implementation

[0098] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the scope of the present application to those skilled in the art.

[0099] The terms “first,” “second,” etc., used in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus. The terms “and / or” in the specification and claims indicate at least one of the connected objects.

[0100] The following description provides examples and is not intended to limit the scope, applicability, or configuration set forth in the claims. Changes may be made to the function and arrangement of the elements discussed without departing from the spirit and scope of this disclosure. Various procedures or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with reference to certain examples may be combined in other examples.

[0101] like Figure 1As shown, this is an AS layer protocol stack function in a 6G network. The L3 UP function of the AS layer has the capability to send IP packets once or more. The introduction of the L3 UP function brings a new way of AS layer data processing, enabling seamless and lossless data forwarding when user equipment moves.

[0102] Figure 2 An example of an access layer protocol stack is provided, where each box represents a protocol function. For example, the access layer (AS) includes multiple protocol sublayers, where layer 3 (L3) includes the RRC sublayer and the L3UP sublayer, and layer 2 includes the SDAP sublayer, PDCP sublayer, RLC sublayer, and MAC sublayer in order from top to bottom. Figure 2 The connecting lines between the boxes in the diagram are used to indicate that the functional units of two protocol sublayers are directly connected, that is, without passing through other protocol sublayers in between.

[0103] In this scheme, there are multiple correspondences between different protocol sublayers, and multiple functionalities can coexist within a single protocol sublayer with the same function. For example, Figure 2 In the RRC sublayer, the connection between an RRC protocol function and a lower-level protocol function can be one-to-many. The connection between a PDCP sublayer and a lower-level protocol function can be one-to-one. The connection between an L3UP sublayer and a lower-level protocol function can be many-to-one. In this document, "many" refers to two or more.

[0104] like Figure 2 As shown, all connections to MAC protocol sublayer functional units are assigned a unique number. Then, for each connection, the connection is sequentially traversed to the L3 protocol stack sublayer functional unit position. All protocol sublayer functional units traversed by this connection, as well as the connections between these functional units, are called an end-to-end radio link. The end-to-end radio link ID is the value of the unique number of the connection to the MAC protocol sublayer functional unit. For example... Figure 2 The identified links numbered from 0 to n that connect to the MAC protocol sublayer functionalities.

[0105] When the SDAP sublayer function and the MAC sublayer function are directly connected, the QoS flow ID can be carried in the SDAP PDU. In order to reduce redundancy overhead, the MAC PDU does not need to carry the Logical Channel ID (LCID), other channel IDs or carrier IDs; at the same time, the MAC CE type still needs to exist.

[0106] To address the aforementioned issues, this application proposes a MAC PDU transmission scheme that does not carry LCID, channel, or bearer ID over the air interface. This scheme redefines the subheader (i.e., the PDU header) of existing MAC PDUs, eliminating the need to carry bearer information in the air interface and reducing the redundancy overhead of MAC PDUs.

[0107] Specifically, embodiments of this application define a new format for MAC PDUs (referred to as the first format for ease of description), such as... Figures 3-8 As shown, the first format of the sub-MAC PDU includes: a header unit and a MAC Service Data Unit (SDU), wherein the header unit includes:

[0108] (1) A first type field (D / C) for indicating the type of sub-MAC PDU, wherein the type of the sub-MAC PDU includes control sub-MAC PDU and data sub-MAC PDU. Wherein, the MAC SDU of the control sub-MAC PDU is a MAC control element (CE); the MAC SDU of the data sub-MAC PDU is a data MAC SDU.

[0109] The first type field (D / C) can be 1 bit long. Table 1 provides an example of a specific value for this field: a value of 0 indicates a control sub-MAC PDU, and a value of 1 indicates a data sub-MAC PDU. In other words, when the D / C identifier is a control sub-MAC PDU, it indicates that this MAC sub-PDU is a MAC CE. When the D / C identifier is a data sub-MAC PDU, it indicates that this MAC sub-PDU is a data MAC SDU.

[0110] Table 1

[0111] 0 Control Sub MAC PDU, i.e. MAC CE 1 Data sub MAC PDU

[0112] In addition, the header unit of the first format sub-MAC PDU in this application embodiment further includes at least one of the following fields:

[0113] (2) Length field size indicator field (F), used to indicate the size of the length field.

[0114] The length of the size indicator field (F) can be 2 bits, such as... Figures 3-5 As shown, it can also be 1 bit, such as Figures 6-8 As shown.

[0115] Corresponding to Figures 3-5 Table 2 provides an example of the values ​​for the 2-bit length field size indicator field (F).

[0116] Table 2

[0117]

[0118] Corresponding to Figures 6-8 Table 3 provides an example of the value of the length field size indicator field (F), which is 1 bit long.

[0119] Table 3

[0120]

[0121] (3) Receive Object Indication Field (CP / UP), used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU.

[0122] In this embodiment of the application, when the first type field (D / C) is identified as a data sub MAC PDU, the length of the receive target indication field (CP / UP) is 1 bit. When the first type field (D / C) is identified as a control sub MAC PDU, the length of the receive target indication field (CP / UP) is 0 bits, that is, the receive target indication field (CP / UP) does not exist.

[0123] Table 4 provides an example of the possible values ​​for the Receive Object Indicator (CP / UP) field, which is 1 bit long.

[0124] Table 4

[0125] 0 Data sent to the user plane UP (i.e., sent to the SDAP protocol sublayer) via subMAC PDU 1 Data sent to the control plane CP (i.e., sent to the RRC protocol sublayer) via subMAC PDU

[0126] It should be noted that in this embodiment of the application, the upper layer of the MAC layer only has the user plane (SDAP), so the CP / UP field is only 1 bit long. If there are multiple CP / UP protocol sublayers, the CP / UP can be extended in the above way. For example, if the CP / UP is 2 bits, it means there are 4 protocol sublayers.

[0127] (4) The second type field (The type Index of MAC CE) is used to indicate the type of MAC CE when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU, that is, to indicate the type of MAC CE carried by the sub-MAC PDU to which the second type field belongs.

[0128] (5) Length field (L field) is used to indicate the length of the MAC SDU carried by the sub-MAC PDU.

[0129] In this embodiment of the application, under certain scenarios, the length field and the second type field can be used separately. For example, when the length field exists, the second type field may not exist; conversely, when the second type field exists, the length field may not exist. In this case, the length field and the second type field share at least some fields. That is, some fields of the second type field are shared with some fields of the length field. These shared fields are fields at fixed positions in the sub-MAC PDU. For example, Figure 3 In this context, the length field and the second type field share all fields, meaning that the field positions of the two are exactly the same. Figures 4-5 In this context, the second type of field shares some fields with the length field, meaning that all fields of the second type of field are located within the length field.

[0130] For example, when the first type field (D / C) is identified as a data sub-MAC PDU, the length field size indicator field (F) is present, the receiver target indicator field (CP / UP) is present, and the remaining 5 bits (1 bit length of F field) or 4 bits (2 bits length of F field) are the partial length field (L field). Furthermore, based on the F field indication, the total length of the L field can be obtained as 4 + 8 / 16 / 24 bits.

[0131] For example, when the first type field (D / C) is identified as a control sub MAC PDU:

[0132] A) The length field size indicator field (F) exists, the receiving target indicator field (CP / UP) does not exist, and the remaining 5 bits (2 bits of F field length) or 6 bits (1 bit of F field length) are all MAC CE type indicator fields (The type Index of MACCE), indicating 32 or 64 MAC CE types.

[0133] B) The length field size indicator (F) is missing, the receiver target indicator (CP / UP) is missing, and the remaining 7 bits are all MAC CE type indicator fields (The type Index of MAC CE), indicating 128 MAC CE types, such as... Figure 9 As shown.

[0134] In this embodiment, when the first type field (D / C) identifies a control sub-MAC PDU and the F field does not exist, the length of the MAC SDU of the control sub-MAC PDU, i.e., the length of the sub-MAC SDU corresponding to each MAC CE, is specified by the type of the MAC CE. In other words, there is a preset correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field. This correspondence can be predefined or configured by the network for the terminal. Table 5 provides an example of this correspondence. For instance, when the value of the MAC CE type indication field is 0, the corresponding MAC CE type is MACCE 1, and its length is N bytes.

[0135] Table 5

[0136]

[0137] The above-described solution in this application embodiment is compatible with the extended LCID (eLCID) for MAC CE types, that is, using a longer eLCID length to represent more MAC CE types. When the D / C is identified as MAC CE, the MAC CE type indicator field (The type Index of MAC CE) can be set according to the definition of eLCID to be compatible with and include types indicating extended types (eLCID).

[0138] Based on the first format sub-MAC PDU described above, embodiments of this application also provide a data sending method and a receiving method, which will be described below.

[0139] Please refer to Figure 10 This application provides a data transmission method applied to a first device, which may be a network device or a terminal, such as... Figure 10 As shown, the method includes:

[0140] Step 101: The first device generates a first MAC PDU based on the first format of the Sub-Media Access Control (MAC) Protocol Data Unit (PDU), wherein the first MAC PDU includes at least one sub-MAC PDU.

[0141] Step 102: The first device sends a first MAC PDU to the second device.

[0142] In this embodiment of the application, the first format sub-MAC PDU includes: a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0143] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0144] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0145] The length field size indicator field (F field) is used to indicate the size of the length field;

[0146] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0147] Based on the above steps, the embodiments of this application do not carry bearer information such as LCID, channel or bearer ID in the generated first MAC PDU, thereby reducing the redundancy overhead of the MAC PDU and improving information transmission efficiency.

[0148] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit may include the first type field, the length field size indication field (F field), the second type field, and the length field.

[0149] Optionally, if the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU:

[0150] The first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU. The length field (L) is set in another byte that is different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0151] In this embodiment of the application, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit may include the first type field and the second type field, and there is a second correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field.

[0152] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the first type field and the second type field are set in the first byte of the sub-MAC PDU. The first byte may be the first byte of the sub-MAC PDU or other bytes.

[0153] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU: the header unit may include the first type field (D / C), the length field size indication field (F field), the receiving object indication field (CP / UP), and the length field (L).

[0154] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU, the first type field, the length field size indicator field (F field), the receiving object indicator field (CP / UP) and the first part of the length field (L) are set in the first byte of the sub-MAC PDU, and the remaining part of the length field (L) except for the first part is set in other bytes different from the first byte, and there is a third correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0155] Optionally, the length of the remaining part of the length field (L) excluding the first part is N bytes, where N is an integer greater than or equal to 0.

[0156] Optionally, the length field and the second type field share at least some fields.

[0157] In this embodiment of the application, the first, second, and third correspondences described above can be predefined correspondences, that is, correspondences pre-set in the first device and the second device; the first, second, and third correspondences described above can also be configured by the network device to the terminal. The first device is one of the network device and the terminal, and the second device is the other of the network device and the terminal.

[0158] Please refer to Figure 11 This application provides a data receiving method applied to a second device, where the first device can be a terminal or a network device, such as... Figure 11 As shown, the method includes:

[0159] Step 111: The second device receives a first MAC PDU sent by the first device, wherein the first MAC PDU includes at least one sub-MAC PDU, and each sub-MAC PDU is generated based on a first format of the sub-MAC PDU.

[0160] Step 112: The second device parses the first MAC PDU according to the first format of the sub-MAC PDU.

[0161] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0162] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0163] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0164] The length field size indicator field (F field) is used to indicate the size of the length field;

[0165] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0166] Through the above steps, the embodiments of this application can reduce the redundancy overhead of MAC PDU and improve information transmission efficiency.

[0167] In step 112 above, the second device can determine the sub-MAC PDU type of the first sub-MAC PDU based on the first type field (D / C) of the first sub-MAC PDU in the first MAC PDU; then, it can parse the first sub-MAC PDU based on the sub-MAC PDU type of the first sub-MAC PDU.

[0168] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit may include the first type field, the length field size indication field (F field), the second type field, and the length field.

[0169] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU, the length field (L) is set in other bytes different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0170] In this embodiment of the application, when the second device parses the first sub-MAC PDU according to the sub-MAC PDU type, it may include the following steps:

[0171] When the type of the first sub-MAC PDU is a control sub-MAC PDU, the first value of the length field size indication field (F field) is parsed to obtain the first value; based on the first value and the first correspondence, the first length of the length field (L) is determined; based on the first length, the value of the length field (L) is parsed to obtain the second length of the MACSDU carried by the first sub-MAC PDU; based on the second length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the first MACCE.

[0172] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit may include the first type field and the second type field, and there is a second correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field.

[0173] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the first type field and the second type field are set in the first byte of the sub-MAC PDU.

[0174] In this embodiment of the application, when the second device parses the first sub-MAC PDU according to the sub-MAC PDU type, it may include the following steps:

[0175] When the type of the first sub-MAC PDU is a control sub-MAC PDU, the second value of the second type field is parsed to obtain the second value; based on the second value and the second correspondence, the third length of the MAC SDU carried by the first sub-MAC PDU is determined; based on the third length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the second MAC CE.

[0176] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU: the header unit may include the first type field (D / C), the length field size indication field (F field), the receiving object indication field (CP / UP), and the length field (L).

[0177] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU, the first type field, the length field size indicator field (F field), the receiving object indicator field (CP / UP) and the first part of the length field (L) are set in the first byte of the sub-MAC PDU, and the remaining part of the length field (L) except for the first part is set in other bytes different from the first byte, and there is a third correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0178] Optionally, the length of the remaining part of the length field (L) excluding the first part is N bytes, where N is an integer greater than or equal to 0.

[0179] In this embodiment of the application, when the second device parses the first sub-MAC PDU according to the sub-MAC PDU type, it may include the following steps:

[0180] When the type of the first sub-MAC PDU is a data sub-MAC PDU, the third value of the length field size indicator field (F field) is obtained by parsing; based on the third value and the third correspondence, the fourth length of the length field (L) is determined; based on the fourth length, the value of the length field (L) is parsed to obtain the fifth length of the MACSDU carried by the first sub-MAC PDU; based on the fifth length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the first data MAC SDU.

[0181] In this embodiment of the application, the length field and the second type field share at least some fields.

[0182] The embodiments of this application have at least the following beneficial effects:

[0183] 1) It is based on the existing MAC PDU, which is simple to implement and has little impact on the existing protocol.

[0184] 2) Based on the MAC PDU scheme without bearer IDs according to the embodiments of this application, a set of bearers can be configured via RRC signaling. This set includes the IDs of each bearer and the configuration information of each bearer. The configuration information may include the upper-layer functions corresponding to each bearer. The upper-layer functions refer to layer functions above the MAC layer, such as the SDAP layer. Additionally, embodiments of this application can also carry a routing identifier (RouterID) indicating the bearer ID in the MAC PDU via an in-line method. In this way, the receiving device can address the bearers in the set through the Router ID and, based on the bearer's configuration information, determine which SDU should be sent to the target function. Thus, by combining RRC signaling configuration with in-line carrying (the Router ID must be carried in the PDU), near-zero overhead is achieved while maintaining flexibility.

[0185] For example, assuming the first device is a network device and the second device is a terminal, in step 101, when the first device generates the first MAC PDU, it carries a first Router ID indicating the first bearer ID in the sub-MAC PDU of the first MAC PDU. Additionally, the first device sends a first RRC signaling to the second device. This first RRC signaling is used to configure a set of bearers, which includes the IDs of each bearer and the configuration information of each bearer. The configuration information may include the upper-layer functions corresponding to each bearer. Thus, the second terminal can receive the first RRC signaling and obtain the bearer configuration information. In step 112, when the second device parses the first MAC PDU, it can parse the first MAC SDU carried in the sub-MAC PDU and the first Router ID indicating the first bearer ID. Based on the first Router ID and the bearer configuration information, it determines the first target function and then delivers the first MAC SDU to the first target function.

[0186] 3) By constructing a unified MAC PDU with routing capabilities at the MAC layer, zero impact on the physical layer is achieved.

[0187] 4) It provides a protocol stack solution for Service Oriented (SO) Radio Access Networks (RANs).

[0188] 5) This lays the foundation for the definition of wireless slicing. Through this protocol stack scheme, the embodiments of this application can enable different slices serving the same UE to have the same or different protocol stack functions.

[0189] 6) It laid the foundation for the customization of AS layer protocol stack functions according to different business needs in 6G.

[0190] 7) It provides a solution for the configuration of AI models or algorithms for endogenous AI and the interaction of data required for model training.

[0191] The various methods of the embodiments of this application have been described above. Apparatus for implementing the above methods will now be provided.

[0192] Please refer to Figure 12 This application embodiment also provides a first device 1200, including:

[0193] The first generation module 1201 generates a first MAC PDU based on a first format of the Sub-Media Access Control (MAC) Protocol Data Unit (PDU). The first MAC PDU includes at least one sub-MAC PDU.

[0194] The first sending module 1202 is used to send the first MAC PDU to the second device;

[0195] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0196] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0197] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0198] The length field size indicator field (F field) is used to indicate the size of the length field;

[0199] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0200] For a more detailed explanation of the sub-MAC PDU in the first format, please refer to the description above, which will not be repeated here.

[0201] It should be noted that the device in this embodiment corresponds to the method applied to the first device side described above. The implementation methods in each of the above embodiments are applicable to the embodiments of this device and can achieve the same technical effect. The device provided in this application embodiment can implement all the method steps implemented in the above method embodiments and can achieve the same technical effect. Therefore, the parts that are the same as those in the method embodiments and the beneficial effects will not be described in detail here.

[0202] Please refer to Figure 13 This application also provides a first device 1300, including: a transceiver 1301 and a processor 1302;

[0203] The processor 1302 described above is used to generate a first MAC PDU based on a first format of the Sub-Media Access Control (MAC) Protocol Data Unit (PDU), wherein the first MAC PDU includes at least one sub-MAC PDU.

[0204] The transceiver 1301 is used to send a first MAC PDU to the second device;

[0205] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0206] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0207] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0208] The length field size indicator field (F field) is used to indicate the size of the length field;

[0209] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0210] For a more detailed explanation of the sub-MAC PDU in the first format, please refer to the description above, which will not be repeated here.

[0211] It should be noted that the device in this embodiment corresponds to the method applied to the first device side described above. The implementation methods in each of the above embodiments are applicable to the embodiments of this device and can achieve the same technical effect. The device provided in this application embodiment can implement all the method steps implemented in the above method embodiments and can achieve the same technical effect. Therefore, the parts that are the same as those in the method embodiments and the beneficial effects will not be described in detail here.

[0212] Please refer to Figure 14 This application also provides a second device 1400, comprising:

[0213] The first receiving module 1401 is configured to receive a first MAC PDU sent by the first device, wherein the first MAC PDU includes at least one sub-MAC PDU, and each sub-MAC PDU is generated based on a first format of the sub-MAC PDU.

[0214] The first parsing module 1402 is used to parse the first MAC PDU according to the first format of the sub-MAC PDU;

[0215] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0216] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0217] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0218] The length field size indicator field (F field) is used to indicate the size of the length field;

[0219] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0220] Optionally, the first parsing module is further configured to determine the sub-MAC PDU type of the first sub-MAC PDU based on the first type field (D / C) of the first sub-MAC PDU in the first MAC PDU; and parse the first sub-MAC PDU based on the sub-MAC PDU type of the first sub-MAC PDU.

[0221] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit includes the first type field, the length field size indication field (F field), the second type field, and the length field.

[0222] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU, the length field (L) is set in other bytes different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0223] Optionally, the first parsing module is further configured to, when the type of the first sub-MAC PDU is a control sub-MAC PDU, parse to obtain a first value of the length field size indication field (F field); determine a first length of the length field (L) based on the first value and the first correspondence; parse the value of the length field (L) based on the first length to obtain a second length of the MAC SDU carried by the first sub-MAC PDU; and parse the MAC SDU carried by the first sub-MAC PDU based on the second length to obtain a first MAC CE.

[0224] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit includes the first type field and the second type field, and there is a second correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field.

[0225] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the first type field and the second type field are set in the first byte of the sub-MAC PDU.

[0226] Optionally, the first parsing module is further configured to, when the type of the first sub-MAC PDU is a control sub-MAC PDU, parse to obtain a second value of the second type field; determine a third length of the MAC SDU carried by the first sub-MAC PDU based on the second value and the second correspondence; and parse the MAC SDU carried by the first sub-MAC PDU based on the third length to obtain a second MAC CE.

[0227] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU: the header unit includes the first type field (D / C), the length field size indication field (F field), the receiving object indication field (CP / UP), and the length field (L).

[0228] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU, the first type field, the length field size indicator field (F field), the receiving object indicator field (CP / UP) and the first part of the length field (L) are set in the first byte of the sub-MAC PDU, and the remaining part of the length field (L) except for the first part is set in other bytes different from the first byte, and there is a third correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0229] Optionally, the length of the remaining part of the length field (L) excluding the first part is N bytes, where N is an integer greater than or equal to 0.

[0230] Optionally, the first parsing module is further configured to, when the type of the first sub-MAC PDU is a data sub-MAC PDU, parse to obtain a third value of the length field size indicator field (F field); determine a fourth length of the length field (L) based on the third value and the third correspondence; parse the value of the length field (L) based on the fourth length to obtain a fifth length of the MAC SDU carried by the first sub-MAC PDU; and parse the MAC SDU carried by the first sub-MAC PDU based on the fifth length to obtain a first data MAC SDU.

[0231] Optionally, the length field and the second type field share at least some fields.

[0232] It should be noted that the device in this embodiment corresponds to the method applied to the second device side described above. The implementation methods in each of the above embodiments are applicable to the embodiments of this device and can achieve the same technical effect. The device provided in this application embodiment can implement all the method steps implemented in the above method embodiments and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiments and the beneficial effects will not be described in detail.

[0233] Please refer to Figure 15 This application also provides a second device 1500, including: a transceiver 1501 and a processor 1502;

[0234] The transceiver 1501 is used to receive a first MAC PDU sent by the first device, wherein the first MAC PDU includes at least one sub-MAC PDU, and each sub-MAC PDU is generated based on a first format of the sub-MAC PDU.

[0235] The processor 1502 parses the first MAC PDU according to the first format of the sub-MAC PDU;

[0236] The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields:

[0237] The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU;

[0238] The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU;

[0239] The length field size indicator field (F field) is used to indicate the size of the length field;

[0240] The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MACPDU.

[0241] Optionally, the processor 1502 is further configured to determine the sub-MAC PDU type of the first sub-MAC PDU based on the first type field (D / C) of the first sub-MAC PDU in the first MAC PDU; and parse the first sub-MAC PDU based on the sub-MAC PDU type of the first sub-MAC PDU.

[0242] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit includes the first type field, the length field size indication field (F field), the second type field, and the length field.

[0243] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU, the length field (L) is set in other bytes different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0244] Optionally, the processor 1502 is further configured to, when the type of the first sub-MAC PDU is a control sub-MAC PDU, parse to obtain a first value of the length field size indication field (F field); determine a first length of the length field (L) according to the first value and the first correspondence; parse the value of the length field (L) according to the first length to obtain a second length of the MAC SDU carried by the first sub-MAC PDU; and parse the MAC SDU carried by the first sub-MAC PDU according to the second length to obtain a first MAC CE.

[0245] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit includes the first type field and the second type field, and there is a second correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field.

[0246] Optionally, when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the first type field and the second type field are set in the first byte of the sub-MAC PDU.

[0247] Optionally, the processor 1502 is further configured to, when the type of the first sub-MAC PDU is a control sub-MAC PDU, parse to obtain a second value of the second type field; determine a third length of the MAC SDU carried by the first sub-MAC PDU according to the second value and the second correspondence; and parse the MAC SDU carried by the first sub-MAC PDU according to the third length to obtain a second MAC CE.

[0248] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU: the header unit includes the first type field (D / C), the length field size indication field (F field), the receiving object indication field (CP / UP), and the length field (L).

[0249] Optionally, when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU, the first type field, the length field size indicator field (F field), the receiving object indicator field (CP / UP) and the first part of the length field (L) are set in the first byte of the sub-MAC PDU, and the remaining part of the length field (L) except for the first part is set in other bytes different from the first byte, and there is a third correspondence between the length of the length field (L) and the value of the length field size indicator field.

[0250] Optionally, the length of the remaining part of the length field (L) excluding the first part is N bytes, where N is an integer greater than or equal to 0.

[0251] Optionally, the processor 1502 is further configured to, when the type of the first sub-MAC PDU is a data sub-MAC PDU, parse to obtain a third value of the length field size indication field (F field); determine a fourth length of the length field (L) according to the third value and the third correspondence; parse the value of the length field (L) according to the fourth length to obtain a fifth length of the MAC SDU carried by the first sub-MAC PDU; and parse the MAC SDU carried by the first sub-MAC PDU according to the fifth length to obtain a first data MAC SDU.

[0252] Optionally, the length field and the second type field share at least some fields.

[0253] It should be noted that the device in this embodiment corresponds to the method applied to the second device side described above. The implementation methods in each of the above embodiments are applicable to the embodiments of this device and can achieve the same technical effect. The device provided in this application embodiment can implement all the method steps implemented in the above method embodiments and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiments and the beneficial effects will not be described in detail.

[0254] Please refer to Figure 16This application also provides a first device 1600, including a processor 1601, a memory 1602, and a computer program stored in the memory 1602 and executable on the processor 1601. When the computer program is executed by the processor 1601, it implements the various processes of the data transmission method embodiment executed by the first device described above and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0255] Please refer to Figure 17 This application also provides a second device 1700, including a processor 1701, a memory 1702, and a computer program stored in the memory 1702 and executable on the processor 1701. When the computer program is executed by the processor 1701, it implements the various processes of the data receiving method embodiment executed by the second device described above and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0256] This application also provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of the above-described data transmission and data reception methods, achieving the same technical effects. To avoid repetition, these details are not repeated here. The computer-readable storage medium may include, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0257] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include those elements, but also includes other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0258] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0259] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A data transmission method, characterized in that, include: The first device generates a first MAC PDU based on a first format of the Submedia Access Control (MAC) Protocol Data Unit (PDU), wherein the first MAC PDU includes at least one sub-MAC PDU. The first device sends a first MAC PDU to the second device; The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields: The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU; The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU; The length field size indicator field (F field) is used to indicate the size of the length field; The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU. When the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit includes the first type field, the length field size indicator field (F field), the second type field, and the length field; the first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU, the length field (L) is set in other bytes different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

2. The method according to claim 1, characterized in that, In the case where the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: The header unit includes a first type field and a second type field, and there is a second correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field.

3. The method according to claim 2, characterized in that, In the case where the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: The first type field and the second type field are set in the first byte of the sub-MAC PDU.

4. The method according to claim 1, characterized in that, In the case where the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU: The header unit includes the first type field (D / C), the length field size indicator field (F field), the receiving object indicator field (CP / UP), and the length field (L).

5. The method according to claim 4, characterized in that, When the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU, the first type field, the length field size indicator field (F field), the receiving object indicator field (CP / UP) and the first part of the length field (L) are set in the first byte of the sub-MAC PDU, the remaining part of the length field (L) except for the first part is set in other bytes different from the first byte, and there is a third correspondence between the length of the length field (L) and the value of the length field size indicator field.

6. The method according to claim 5, characterized in that, The length of the remaining part of the length field (L) excluding the first part is N bytes, where N is an integer greater than or equal to 0.

7. The method according to claim 1, characterized in that, The length field and the second type field share at least some fields.

8. A data receiving method, characterized in that, include: The second device receives a first MAC PDU sent by the first device, wherein the first MAC PDU includes at least one sub-MAC PDU, and each sub-MAC PDU is generated based on a first format of the sub-MAC PDU; The second device parses the first MAC PDU according to the first format of the sub-MAC PDU; The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields: The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU; The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU; The length field size indicator field (F field) is used to indicate the size of the length field; The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU. The second device parses the first MAC PDU according to the first format of the sub-MAC PDU, including: determining the sub-MAC PDU type of the first sub-MAC PDU according to the first type field (D / C) of the first sub-MAC PDU in the first MAC PDU; and parsing the first sub-MAC PDU according to the sub-MAC PDU type of the first sub-MAC PDU. In the case where the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit includes the first type field, the length field size indicator field (F field), the second type field, and the length field. The first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU. The length field (L) is set in another byte that is different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

9. The method according to claim 8, characterized in that, Based on the sub-MAC PDU type of the first sub-MAC PDU, parse the first sub-MAC PDU, including: When the type of the first sub-MAC PDU is a control sub-MAC PDU, the first value of the length field size indicator field (F field) is obtained by parsing. Based on the first value and the first correspondence, determine the first length of the length field (L); Based on the first length, the value of the length field (L) is parsed to obtain the second length of the MACSDU carried by the first sub-MAC PDU; Based on the second length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the first MAC CE.

10. The method according to claim 8, characterized in that, In the case where the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: The header unit includes a first type field and a second type field, and there is a second correspondence between the length of the MAC SDU and the MAC CE type indicated by the second type field.

11. The method according to claim 10, characterized in that, In the case where the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: The first type field and the second type field are set in the first byte of the sub-MAC PDU.

12. The method according to claim 10, characterized in that, Based on the sub-MAC PDU type of the first sub-MAC PDU, parse the first sub-MAC PDU, including: When the type of the first sub-MAC PDU is a control sub-MAC PDU, the second value of the second type field is obtained by parsing. Based on the second value and the second correspondence, determine the third length of the MAC SDU carried by the first sub-MAC PDU; Based on the third length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the second MAC CE.

13. The method according to claim 8, characterized in that, In the case where the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU: The header unit includes the first type field (D / C), the length field size indicator field (F field), the receiving object indicator field (CP / UP), and the length field (L).

14. The method according to claim 13, characterized in that, When the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU, the first type field, the length field size indicator field (F field), the receiving object indicator field (CP / UP) and the first part of the length field (L) are set in the first byte of the sub-MAC PDU, the remaining part of the length field (L) except for the first part is set in other bytes different from the first byte, and there is a third correspondence between the length of the length field (L) and the value of the length field size indicator field.

15. The method according to claim 14, characterized in that, The length of the remaining part of the length field (L) excluding the first part is N bytes, where N is an integer greater than or equal to 0.

16. The method according to claim 14, characterized in that, Based on the sub-MAC PDU type of the first sub-MAC PDU, parse the first sub-MAC PDU, including: When the type of the first sub-MAC PDU is a data sub-MAC PDU, the third value of the length field size indicator field (F field) is obtained by parsing. Based on the third value and the third correspondence, determine the fourth length of the length field (L); Based on the fourth length, the value of the length field (L) is parsed to obtain the fifth length of the MACSDU carried by the first sub-MAC PDU; Based on the fifth length, the MAC SDU carried by the first sub-MAC PDU is parsed to obtain the first data MAC SDU.

17. The method according to claim 8, characterized in that, The length field and the second type field share at least some fields.

18. A first device, characterized in that, Includes transceivers and processors, among which, The processor is configured to generate a first MAC PDU based on a first format of a Sub-Media Access Control (MAC) Protocol Data Unit (PDU), wherein the first MAC PDU includes at least one sub-MAC PDU. The transceiver is used to send a first MAC PDU to the second device; The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields: The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU; The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU; The length field size indicator field (F field) is used to indicate the size of the length field; The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU. When the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit includes the first type field, the length field size indicator field (F field), the second type field, and the length field; the first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU, the length field (L) is set in other bytes different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

19. A second device, characterized in that, Includes transceivers and processors, among which, The transceiver is configured to receive a first MAC PDU sent by a first device, wherein the first MAC PDU includes at least one sub-MAC PDU, and each sub-MAC PDU is generated based on a first format of the sub-MAC PDU. The processor is configured to parse the first MAC PDU according to the first format of the sub-MAC PDU; The first format of the sub-MAC PDU includes a header unit and a MAC Service Data Unit (SDU). The header unit includes a first type field (D / C) for indicating the type of the sub-MAC PDU, and also includes at least one of the following fields: The second type field is used to indicate the MAC CE type when the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU; The length field (L) indicates the length of the MAC SDU carried by the sub-MAC PDU; The length field size indicator field (F field) is used to indicate the size of the length field; The Receive Object Indication field (CP / UP) is used to indicate the target protocol layer to which the MAC PDU is sent when the sub-MAC PDU type indicated by the first type field is a data sub-MAC PDU. The processor is further configured to determine the sub-MAC PDU type of the first sub-MAC PDU based on the first type field (D / C) of the first sub-MAC PDU in the first MAC PDU; and parse the first sub-MAC PDU based on the sub-MAC PDU type of the first sub-MAC PDU. In the case where the sub-MAC PDU type indicated by the first type field is a control sub-MAC PDU: the header unit includes the first type field, the length field size indicator field (F field), the second type field, and the length field. The first type field, the length field size indicator field (F field), and the second type field are set in the first byte of the sub-MAC PDU. The length field (L) is set in another byte that is different from the first byte, and there is a first correspondence between the length of the length field (L) and the value of the length field size indicator field.

20. A communication device, characterized in that, include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method as described in any one of claims 1 to 17.

21. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method as described in any one of claims 1 to 17.

Citation Information

Patent Citations

  • Enhancement of medium access control subheaders

    CN112335332A

  • Wireless communication method and device

    CN113133055A