Data processing method, equipment and medium
By building a subtransport block containing data fields and data subheaders, the inefficiency problem of the multi-layer protocol stack under high transmission rate and low latency requirements is solved, and more efficient data processing performance is achieved.
Patent Information
- Application Number
- CN202311665358.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-05
- Publication Date
- 2025-06-06
AI Technical Summary
In scenarios where there are higher transmission rates and lower transmission delay requirements, the data processing methods of the existing multi-layer protocol stack are less efficient, resulting in increased memory consumption and data processing delay.
By constructing a transmission block, it includes multiple sub-transport blocks, each sub-transport block contains a data field and a data sub-header. The data sub-header carries at least a logical channel ID field. The type of the sub-transport block is related to the value of the logical channel ID field, which directly reduces memory consumption and data processing delay.
In scenarios with high transmission rate and low latency requirements, the data processing rate is improved, the data processing delay is reduced, and thus the data processing performance is improved.
Smart Images

Figure CN120111698A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a data processing method, device and medium. Background Art
[0002] At present, wireless communication systems based on 5G usually transmit session-based user data, such as voice call data, video call data, Internet access data, etc. Since the 5G user plane protocol stack usually includes four protocol layers: Service Data Adaptation Protocol (SDAP), Packet Data Convergence Protocol (PDCP), Radio Link Control (RLC), and Medium Access Control (MAC), the transmitted data needs to be processed by the SDAP, PDCP, RLC, and MAC layers in the user plane protocol stack in sequence. However, when the data is processed at each layer of the protocol stack, a protocol header will be added, thereby increasing memory consumption and data processing delay. In addition, when data is transmitted between protocol layers, data copying is required, which also increases memory consumption and data processing delay. Therefore, the relevant technology adopts a data processing method of a multi-layer protocol stack. In scenarios with higher transmission rates and lower transmission delay requirements, the data processing efficiency and overall processing performance are low. Summary of the invention
[0003] The embodiments of the present application provide a data processing method, device and medium, which can increase the data processing rate and reduce the data processing delay in scenarios with higher transmission rate and lower transmission delay requirements, thereby effectively improving data processing performance.
[0004] In a first aspect, an embodiment of the present application provides a data processing method, the method comprising:
[0005] Get the data to be transmitted;
[0006] A transmission block is constructed according to the data, wherein the transmission block includes multiple sub-transmission blocks, the multiple sub-transmission blocks include at least one type of sub-transmission blocks, each of the sub-transmission blocks includes a data field and a data sub-header located before the data field, the data field carries the data, the data sub-header carries at least a logical channel ID field, and the type of the sub-transmission block is related to the value of the logical channel ID field.
[0007] In a second aspect, an embodiment of the present application provides an electronic device, including:
[0008] one or more processors;
[0009] A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method as described in the first aspect above.
[0010] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the data processing method as described in the first aspect above.
[0011] In an embodiment of the present application, data to be transmitted is obtained, and a transmission block is constructed according to the data. Among them, the transmission block includes multiple sub-transmission blocks, and the multiple sub-transmission blocks include at least one type of sub-transmission blocks, each sub-transmission block includes a data field and a data sub-header located before the data field, the data field carries data, the data sub-header carries at least a logical channel ID field, and the type of the sub-transmission block is related to the value of the logical channel ID field. The present application directly constructs a sub-transmission block based on data, and each sub-transmission block includes a data sub-header, which can effectively reduce memory consumption and data processing delay compared with the existing need to add a protocol header when processing each layer of the protocol stack. In addition, the sub-transmission block including a data field and a data sub-header located before the data field constructed based on data can reduce the number of data copies, thereby effectively reducing memory consumption and data processing delay. Therefore, compared with the related art, the embodiment of the present application can improve the data processing rate and reduce the data processing delay in scenarios with higher transmission rates and lower transmission delay requirements, thereby effectively improving data processing performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0013] Figure 1 It is a schematic diagram of data processing based on a multi-layer protocol stack in the related art;
[0014] Figure 2 It is a flowchart of a data processing method provided by an embodiment of the present application;
[0015] Figure 3 It is a structural diagram of determining a transmission block based on a sub-transmission block constructed including a data field and a data sub-header provided by an embodiment of the present application;
[0016] Figure 4 This is a first structural diagram of a data subheader in which the value of the logical channel ID field is a first value provided by an embodiment of the present application;
[0017] Figure 5 This is a second structural diagram of a data subheader in which the value of the logical channel ID field is the first value provided by an embodiment of the present application;
[0018] Figure 6 This is a third structural diagram of a data subheader in which the value of the logical channel ID field is the first value provided by an embodiment of the present application;
[0019] Figure 7 This is a fourth structural diagram of a data subheader in which the value of the logical channel ID field is the first value provided by an embodiment of the present application;
[0020] Figure 8 This is a first structural diagram of a data subheader in which the value of the logical channel ID field is a second value provided by an embodiment of the present application;
[0021] Fig. 9 This is a second structural diagram of a data subheader in which the value of the logical channel ID field is a second value provided by an embodiment of the present application;
[0022] Fig.10 This is a third structural diagram of a data subheader in which the value of the logical channel ID field is the second value provided by an embodiment of the present application;
[0023] Fig.11 This is a fourth structural diagram of a data subheader in which the value of the logical channel ID field is the second value provided by an embodiment of the present application;
[0024] Fig.12 This is a schematic diagram of the structure of a data subheader in which the value of the logical channel ID field is a third value provided by an embodiment of the present application;
[0025] Fig.13 It is a schematic diagram of the device structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0027] It should be understood that in the description of the embodiments of the present application, if there is a description of "first", "second", etc., it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of the indicated technical features. "At least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the situation where A exists alone, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any group of these items, including any group of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0028] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0029] In order to facilitate understanding of the solutions of the embodiments of the present application and to provide a clear and concise description of the following embodiments, a brief introduction to the related technologies is first given:
[0030] MAC: refers to the entity responsible for processing and managing the Media Access Control (MAC) protocol in wireless access technology in wireless communication systems such as Long Term Evolution (LTE) and 5G. MAC controls and manages physical layer resources to achieve efficient transmission and scheduling of user data while ensuring network performance and efficiency. MAC control element (Media Access Control-Control Element, MAC-CE) usually refers to the control information sent by the base station or UE in a wireless communication system.
[0031] Air interface transmission: refers to the wireless interface in a wireless communication system, i.e., the wireless channel. Air interface transmission is the physical transmission medium used to transmit wireless signals in mobile communications. In mobile communication systems, air interface transmission is used for bidirectional wireless signal transmission between mobile devices (such as mobile phones) and base stations. Air interface transmission is the most critical and basic part of a mobile communication system, responsible for carrying voice, data, and various other services.
[0032] Protocol Data Unit (PDU): refers to the data unit passed from one protocol layer to another in the communication network. In the 5G user plane model, each protocol layer will add specific header information when processing data to form a PDU for transmission. At the receiving end, these header information will be removed to obtain the original business data.
[0033] At present, wireless communication systems based on 5G usually transmit session-based user data, such as voice call data, video call data, Internet access data, etc. Since the 5G user plane protocol stack usually includes four protocol layers: Service Data Adaptation Protocol (SDAP), Packet Data Convergence Protocol (PDCP), Radio Link Control (RLC), and Medium Access Control (MAC), the transmitted data needs to be processed by the SDAP, PDCP, RLC, and MAC layers in the user plane protocol stack in turn. However, when the data is processed at each layer of the protocol stack, a protocol header will be added, such as Figure 1 As shown, for data based on the Internet Protocol (IP protocol) (such as IP data packet n, IP data packet n+1, etc.), when the data is processed in a multi-layer protocol stack, protocol headers are added to the SDAP layer, PDCP layer, RLC layer, and MAC layer (i.e., the protocol header H added in each layer), and PDU data messages are output. For the sending end, the data is processed from top to bottom by the MAC layer, and the MAC PDU is output to the physical layer (Physical, PHY), and then sent out through the air interface. Therefore, the related technology easily increases memory consumption and data processing delay by adding protocol headers to each layer of the protocol stack.
[0034] The existing wireless communication system (such as 5G) has a latency of 1 millisecond during air interface transmission and a peak transmission rate of 10 Gbit / s (Gbit / s, that is, the amount of data transmitted per second is 10 Gbits). In the future, wireless communication systems (such as 6G), because they support new services such as AI, perception and computing power, and support extremely high reliability and low latency services, require the air interface transmission latency to be reduced to 0.1 milliseconds and the peak transmission rate to be increased to 100Gbit / s. That is, 6G needs to improve performance by more than 10 times compared to 5G. However, related technologies tend to increase memory consumption and data processing delay by adding protocol headers to each layer of the protocol stack. In addition, when data is transmitted between protocol layers, data copying is required, which also increases memory consumption and data processing delay. Therefore, since future wireless communication systems support new services such as AI, perception and computing power, and application scenarios are expanded to various vertical industries, higher data transmission rates and lower data processing delays are required. However, the existing technology of multi-layer protocol stack processing data header separately can no longer meet the future data processing performance requirements in scenarios with higher transmission rate and lower transmission delay requirements.
[0035] In order to solve the above problems, an embodiment of the present application provides a data processing method, which constructs a sub-transmission block based on the acquired data to be transmitted, wherein the sub-transmission block includes a data field and a data sub-header located before the data field, the data field carries data, and the data sub-header carries a logical channel ID field. In scenarios with higher transmission rate and lower transmission delay requirements, the data processing rate can be increased and the data processing delay can be reduced, thereby effectively improving the data processing performance.
[0036] The embodiments described in the present invention may be implemented in a communication system, such as in at least one of the following systems: Global System for Mobile Communications (GSM) or any other second generation cellular communication system, Universal Mobile Telecommunications System (UMTA, 3G) based on basic Wideband Code Division Multiple Access (W-CDMA), High-Speed Packet Access (HSPA), Long Term Evolution (LTE), Advanced LTE, systems based on IEEE 802.11 specifications, systems based on IEEE 802.15 specifications and / or fifth generation (5G) mobile or cellular communication systems; and future mobile communication systems (such as 6G). However, the embodiments are not limited to the systems given in the above examples, but those skilled in the art may apply the solutions to other communication systems with the necessary attributes.
[0037] In the data processing method of the embodiment of the present application, refer to Figure 2 As shown, the implementation process of a data processing method provided in an embodiment of the present application may include but is not limited to the following steps S210 to S220, and each step is introduced in turn below:
[0038] Step S210: Acquire data to be transmitted.
[0039] It should be noted that the data to be transmitted generally refers to the data sent and received by users in network communications.
[0040] It should be noted that the data to be transmitted described in the embodiments of the present application may include the following types of data: data packets, data blocks, variable-length MAC-CEs, or fixed-length MAC-CEs.
[0041] The data packet described in the embodiment of the present application is data sent by the sender in packets (Packet), and the data packet has a corresponding SN. The receiving end can receive the data packets in order according to the SN and inform the sender through the SN that the data has been correctly received. The data packet can specifically be an IP data packet, a high-level signaling, and a data packet generated inside the layer 2 (i.e., the data link layer). The data block described in the embodiment of the present application can specifically be artificial intelligence (AI) related data, perception data, or computing service data in a wireless communication system, or other data generated inside the layer 2.
[0042] The variable-length MAC-CE described in the embodiment of the present application means that the length of the MAC-CE is not fixed, and data can be dynamically increased or decreased as needed. The use of the variable-length MAC-CE can flexibly transmit control information of different lengths while ensuring transmission efficiency.
[0043] The fixed-length MAC-CE described in the embodiment of the present application means that the length of the MAC-CE is fixed and the data cannot be dynamically increased or decreased. The fixed-length MAC-CE can make the transmission process simpler and more reliable, but may waste certain transmission resources.
[0044] It should be noted that the embodiments of the present application do not specifically limit the specific protocol used for the data to be transmitted.
[0045] Step S220: construct a transmission block according to the data, wherein the transmission block includes multiple sub-transmission blocks, the multiple sub-transmission blocks include at least one type of sub-transmission blocks, each sub-transmission block includes a data field and a data sub-header located before the data field, the data field carries data, the data sub-header carries at least a logical channel ID field, and the type of the sub-transmission block is related to the value of the logical channel ID field.
[0046] It can be understood that the data at this time is the data to be transmitted described in the above embodiment, and will not be repeated here. The sub-transmission block refers to a structure encapsulated based on data and corresponding data sub-headers for transmitting data. The logical channel ID (Logical Channel IDentification, LCID) field refers to a field used to determine the value of the logical channel corresponding to the sub-transmission block. The data field refers to a field used to store the acquired data to be transmitted.
[0047] It should be noted that the type of the sub-transmission block is related to the value of the logical channel ID field, that is, the type of the sub-transmission block can be determined by the value of the logical channel ID field. The value of the logical channel ID field refers to the numerical value used to mark the logical channel (Logical CHannel, LCH) into which the data is divided. For example, the types of sub-transmission blocks include three categories, and each type of sub-transmission block can correspond to multiple logical channels. Each type of sub-transmission block corresponds to a format of a data sub-header, and the logical channel ID fields corresponding to the three data sub-headers can be set to 3 different values, such as 0, 1, 2, etc., which are not specifically limited here.
[0048] It should be noted that a transport block (TB) can include multiple sub-transmission blocks, and multiple data can be transmitted simultaneously. Combining multiple sub-transmission blocks into one transport block can effectively improve data processing efficiency. In addition, the length of the transport block can be dynamically scheduled and pre-configured, and the receiving end can know the length of the received transport block through authorization.
[0049] It should be noted that the original data refers to the complete data to be transmitted. When the original data is large, the data to be transmitted may also be a segmented data in the original data. Therefore, the data processing method of the present application can support the segmented transmission of data.
[0050] It should be noted that the sub-transmission block includes a data field and a data sub-header located before the data field. Figure 3 As shown, a transmission block includes multiple sub-transmission blocks (subTB). After obtaining multiple data to be transmitted (such as variable-length data Data1, variable-length data Data2, and fixed-length data Data3), the data to be transmitted is placed in the data field. The logical channel ID field corresponding to each data is determined according to the logical channel corresponding to the data to be transmitted. And the data subheader is determined based on the logical channel ID field. The sub-transmission block corresponding to the data is constructed according to the data field and the data subheader located before the data field. For example, based on the variable-length data Data1 and the corresponding data subheader Header1, the sub-transmission block subTB1 is constructed; based on the variable-length data Data2 and the corresponding data subheader Header2, the sub-transmission block subTB2 is constructed; based on the fixed-length data Data3 and the corresponding data subheader Header3, the sub-transmission block subTB3 is constructed.
[0051] It should be noted that a transmission block contains at least one sub-transmission block of one type; a transmission block may contain 0, 1 or more sub-transmission blocks of three types, and when it contains multiple sub-transmission blocks, the order in which the multiple sub-transmission blocks appear in a transmission block is not specifically limited.
[0052] It should be noted that variable-length data refers to the data field carrying data with a variable length. In this case, a length field is required in the data sub-header, unless the sub-transmission block is at the end of the entire transmission block. Fixed-length data refers to the data field carrying data with a fixed length. In this case, a length field is not required in the data sub-header.
[0053] In a possible embodiment of the present application, in a transmission block, the last sub-transmission block may record variable-length data without a length field. Because the corresponding field length has been determined for the previous sub-transmission block, on the basis of a fixed transmission block length, the length of the data field carried in the last sub-transmission block is the result obtained by subtracting the length of all previous sub-transmission blocks from the transmission block length.
[0054] It should be noted that in a transmission block, it is not limited to that only the last sub-transmission block is a sub-transmission block carrying a fixed-length data field. In the middle of the transmission block, there may also be a sub-transmission block carrying a fixed-length data field to meet different service requirements. For example, for a fixed-length MAC-CE, it carries a sub-transmission block carrying a fixed-length data field.
[0055] It is understandable that, since the transport block is of fixed length, in order to make the transport block meet the length requirement, the present application may add a padding field after the last sub-transport block. The padding field refers to additional data added to meet specific length or format requirements. This padding is usually some meaningless data, which is only used to fill the length or format of the data packet to meet the requirements of the protocol.
[0056] The advantage of the above embodiment is that in order to avoid the problem that the existing multi-layer protocol stack needs to add a protocol header when processing each layer of the protocol stack, thereby increasing memory consumption and data processing delay, the present application simplifies the existing SDAP, PDCP, RLC, MAC four-layer protocol processing process into a method of constructing a data header, and unifies the data buffers of the existing protocols SDAP, PDCP, RLC, and MAC into one data buffer. At the same time, the data status of each data is recorded. Based on this, each functional component can directly read the unified data area without copying the data multiple times, which greatly improves the data processing efficiency and can effectively guarantee the extremely high transmission rate and extremely low transmission delay requirements of future wireless communication systems.
[0057] In one embodiment, the value of the logical channel ID field is the first value; the data field carries data of variable length, such as a data packet; and the data subheader carries the following fields:
[0058] LCID field: The LCID field is used to indicate the logical channel ID corresponding to the data. It is a mandatory field.
[0059] SN field: The SN field is used to indicate the number corresponding to the data. It is a required field.
[0060] SI field: The SI field is used to indicate the segmentation information of the data. It is a mandatory field.
[0061] SO field: The SO field is used to indicate the position of the current data segment in the original data, that is, the position of the first byte of the data segment in the original data buffer. It is an optional field.
[0062] F field: The F field is used to indicate whether the data subheader has an L field, and if so, indicates the length of the L field. It is a mandatory field.
[0063] L field: L field is used to indicate the length of the data field, which is an optional field;
[0064] The R field, a reserved bit, is set to 0.
[0065] It should be noted that the first value is used to mark the classification of data as a data type carrying an SN. The first value can be a numerical value in any form and is not specifically limited here. It can be understood that when the value of the logical channel ID field in this application is the first value, its corresponding data subheader can be expressed as an LCID / SN / SI / SO / F / L subheader.
[0066] It should be noted that the length of the logical channel ID (LCID) field can be 6 bits (bit) or 8 bits. The present application can also define an eLCID field after the logical channel ID field, and the eLCID field can be 16 bits. For example, when the logical channel ID field takes a certain value, it means that there is an eLCID field immediately following the LCID. When the eLCID field exists, the data subheader can be expressed as an LCID / eLCID / SN / SI / SO / F / L subheader.
[0067] It should be noted that the length of the Sequence Number (SN) field can be configured through Radio Resource Control (RRC) signaling and is a Radio Bearer level parameter. The length of the SN field can be 6 bits, 12 bits, or 18 bits, etc., and is not specifically limited here.
[0068] It should be noted that the length of the Segmentation Information (SI) field can be 2 bits. The SI field is used to indicate the segmentation information corresponding to the data packet. In other words, the SI field can indicate whether the data is original data or segmented data in the original data. Therefore, the values that can be selected by the SI field and the corresponding value description are shown in Table 1 below.
[0069]
[0070]
[0071] Table 1
[0072] It can be understood that the data domain here refers to the data carried by the data field in the sub-transmission block where the SI field is located. The SI field value is 00, indicating that the original data is not segmented, and the data at this time is the complete original data. The SI field value is 01, indicating that the data field in the sub-transmission block where the SI field is located carries the first data segment of the original data. The SI field value is 10, indicating that the data field in the sub-transmission block where the SI field is located carries the last data segment of the original data. The SI field value is 11, indicating that the data field in the sub-transmission block where the SI field is located carries a data segment in the middle of the original data.
[0073] It should be noted that the length of the Segment Offset (SO) field can be 16 bits. The data subheader carries the SO field only when the value of the SI field indicates that the data is the middle segment or the last segment of the original data. The SO field is used to indicate the position of the data segment in the original data, that is, the position of the first byte of the data segment in the original data buffer. In the first byte of the original data buffer, the SO value is 0, that is, the numbering starts from 0. Combined with Table 1, it can be seen that when the SI field value is 00, it means that the data is not segmented data, so there is no SO field in the sub-transmission block; when the SI field value is 01, that is, the data is the first data segment of the original data, and there is no SO field in the sub-transmission block; when the SI field value is 10 or 11, it means that the data is the middle segment or the last segment of the original data, and there is an SO field.
[0074] It should be noted that the length of the F field can be 2 bits. The F field is used to indicate whether there is an L field in the data sub-header, and to indicate the length of the L field if there is an L field. The value of the F field can be any one of 00, 01, 10, and 11. The F field value 00 means that the L field occupies 0 bits, that is, there is no L field. At this time, it means that all the contents after a transmission block belong to the sub-transmission block, and there is no need to limit the length of the data field; the F field value 01 means that the L field occupies 8 bits; the F field value 10 means that the L field occupies 16 bits; the F field value 11 means that the L field occupies 24 bits.
[0075] It should be noted that the length of the L field can be any one of 0 bits, 8 bits, 16 bits or 24 bits, etc., which is determined by the F field. The L field is used to indicate the length of the data field.
[0076] It should be noted that the data subheader of the present application may also include an R field, which is a reserved bit. The R field is mainly used for 8-bit alignment of the data subheader. A reserved field refers to a field that is reserved in the communication protocol but is not used temporarily. These fields are usually reserved for future use or temporarily reserved to maintain compatibility with older versions. Therefore, the receiving end should ignore these fields when parsing the data without relying on their content.
[0077] Example 1: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the first value, that is, the format type of the data subheader is LCID / SN / SI / SO / F / L subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the SN field is configured as 12 bits, and the data subheader also carries the SI field, SO field, F field and L field (occupying 8 bits). The format of the data subheader at this time is as follows: Figure 4 As shown, the data sub-header is 6 bytes, Oct1 represents the first 8 bits (or the first byte), Oct2 represents the second 8 bits (or the second byte), and so on, which will not be repeated here.
[0078] Example 2: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the first value, and there is no L field, that is, the format type of the data subheader is LCID / SN / SI / SO / F subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the SN field is configured as 12 bits, and the data subheader also carries the SI field, SO field and F field, but no L field. The format of the data subheader at this time is as follows: Figure 5 As shown, the data sub-header is 5 bytes, Oct1 represents the first 8 bits (or the first byte), Oct2 represents the second 8 bits (or the second byte), and so on, which will not be repeated here.
[0079] Example 3: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the first value, and there is no SO field, that is, the format type of the data subheader is LCID / SN / SI / F / L subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the SN field is configured as 12 bits, and the data subheader also carries the SI field, F field and L field (occupying 8 bits), and there is no SO field. The format of the data subheader at this time is as follows: Figure 6 As shown, the data sub-header is 4 bytes, Oct1 represents the first 8 bits (or the first byte), Oct2 represents the second 8 bits (or the second byte), and so on, which will not be repeated here.
[0080] Example 4: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the first value, and there is no SO field and L field, that is, the format type of the data subheader is LCID / SN / SI / F subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the SN field is configured as 12 bits, and the data subheader also carries the SI field and F field, but no SO field and L field. The format of the data subheader at this time is as follows: Figure 7 As shown, the data sub-header is 3 bytes, Oct1 represents the first 8 bits (or the first byte), Oct2 represents the second 8 bits (or the second byte), and so on, which will not be repeated here.
[0081] According to the above example content, the present application can make the data subheader have multiple lengths and formats according to whether there is an SO field, an L field, etc., and the length of the LCID, SN field, and the L field. For example, depending on whether there is an SO field or an L field, there are the following 4 subheaders: LCID / SN / SI / SO / F / L subheader, LCID / SN / SI / SO / F subheader, LCID / SN / SI / F / L subheader, and LCID / SN / SI / F subheader.
[0082] In one embodiment, the value of the logical channel ID field is the second value; the data field carries data of variable length, such as a data block or a MAC-CE of variable length; the data subheader carries the following fields:
[0083] LCID field: The LCID field is used to indicate the logical channel ID corresponding to the data. It is a mandatory field.
[0084] SI field: The SI field is used to indicate the segmentation information of the data. It is a mandatory field.
[0085] SO field: The SO field is used to indicate the position of the current data segment in the original data, that is, the position of the first byte of the data segment in the original data buffer. It is an optional field.
[0086] F field: The F field is used to indicate whether the data subheader has an L field, and if so, indicates the length of the L field. It is a mandatory field.
[0087] L field: L field is used to indicate the length of the data field, which is an optional field;
[0088] The R field, a reserved bit, is set to 0.
[0089] It should be noted that the second value is used to mark the data as a data type that does not carry an SN. The second value can be a numerical value in any form and is not specifically limited here.
[0090] It can be understood that, in the present application, when the value of the logical channel ID field is the second value, its corresponding data subheader can be expressed as an LCID / SI / SO / F / L subheader, and there is no SN field in the data subheader at this time.
[0091] It should be noted that the length of the LCID field can be 6 bits or 8 bits. The present application can also define an eLCID field after the logical channel ID field, and the eLCID field can be 16 bits. For example, when the logical channel ID field takes a certain value, it means that there is an eLCID field immediately following the LCID. When the eLCID field exists, the data subheader can be expressed as an LCID / eLCID / SI / SO / F / L subheader.
[0092] It should be noted that when the value of the logical channel ID field is the second value, the bit length and meaning of the SI field, SO field, F field and L field carried in the data sub-header are the same as the bit length and meaning of the corresponding fields when the value of the logical channel ID field is the first value, which has been described in detail in the above embodiments and will not be repeated here.
[0093] It should be noted that for variable-length MAC-CE, in the existing New Radio (NR) protocol, MAC-CE cannot be sent in segments, but the new transmission block structure proposed in this application constructs the corresponding sub-transmission block based on the type of variable-length MAC-CE, so that the variable-length MAC-CE can also be sent in segments.
[0094] Example 5: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the second value, that is, the format type of the data subheader is LCID / SI / SO / F / L subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the data subheader also carries the SI field, SO field, F field and L field (occupying 8 bits). The format of the data subheader at this time is as follows: Figure 8 As shown, the data sub-header is 5 bytes, Oct1 represents the first 8 bits (or the first byte), Oct2 represents the second 8 bits (or the second byte), and so on, which will not be repeated here.
[0095] Example 6: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the second value, and there is no L field, that is, the format type of the data subheader is LCID / SI / SO / F subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the data subheader also carries the SI field, SO field and F field, but no L field. The format of the data subheader at this time is as follows: Fig. 9As shown, the data sub-header is 4 bytes, Oct1 represents the first 8 bits (or the first byte), Oct2 represents the second 8 bits (or the second byte), and so on, which will not be repeated here.
[0096] Example 7: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the second value, and there is no SO field, that is, the format type of the data subheader is LCID / SI / F / L subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the data subheader also carries the SI field, F field and L field (occupying 8 bits), and there is no SO field. The format of the data subheader at this time is as follows: Fig.10 As shown, the data sub-header is 3 bytes, Oct1 represents the first 8 bits (or the first byte), Oct2 represents the second 8 bits (or the second byte), and so on, which will not be repeated here.
[0097] Example 8: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the second value, and there is no SO field and L field, that is, the format type of the data subheader is LCID / SI / F subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the data subheader also carries the SI field and F field, and there is no SO field and L field. The format of the data subheader at this time is as follows: Fig.11 As shown, the data sub-header is 2 bytes, Oct1 represents the first 8 bits (or the first byte), and Oct2 represents the second 8 bits (or the second byte).
[0098] According to the above example content, the present application can make the data subheader have multiple lengths and formats according to whether there is an SO field, an L field, etc., and the length of the LCID and L fields. For example, according to whether there is an SO field or an L field, there are the following 4 subheaders: LCID / SI / SO / F / L subheader, LCID / SI / SO / F subheader, LCID / SI / F / L subheader, and LCID / SI / F subheader.
[0099] In one embodiment, the value of the logical channel ID field is the third value; the data field carries data of a fixed length, such as a MAC-CE of a fixed length; and the data subheader carries only the following fields:
[0100] LCID field: The LCID field is used to indicate the logical channel ID corresponding to the data. It is a required field.
[0101] It should be noted that the third value is used to mark the data classification as a fixed-length data type. The third value can be a numerical value in any form and is not specifically limited here.
[0102] It is understandable that, in the present application, when the value of the logical channel ID field is the third value, the corresponding data subheader can be represented as an LCID subheader. At this time, the data subheader does not carry other fields, and the data field carries data of a fixed length.
[0103] It should be noted that the length of the LCID field can be 6 bits or 8 bits. The present application can also define an eLCID field after the logical channel ID field, and the eLCID field can be 16 bits. For example, when the logical channel ID field takes a certain value, it means that there is an eLCID field immediately following the LCID. When the eLCID field exists, the data subheader can be expressed as an LCID / eLCID subheader.
[0104] Example 9: In one embodiment, the value of the logical channel ID field in the data subheader of a sub-transmission block is the third value, that is, the format type of the data subheader is the LCID subheader. If the length of the logical channel ID field LCID is defined as 8 bits, the format of the data subheader is as follows: Fig.12 As shown, the data subheader is 1 byte, and Oct1 represents this 1 byte.
[0105] According to the above example content, this application will determine the type of data subheader based on the value of LCID.
[0106] It should be noted that if Figure 3 As shown, the data sub-header Header1 corresponding to the variable-length data Data1 can be LCID / SN / SI / SO / F / L, the data sub-header Header2 corresponding to the variable-length data Data2 can be LCID / SI / SO / F / L, and the data sub-header Header3 corresponding to the fixed-length data Data3 can be an LCID sub-header. Afterwards, a transmission block is constructed based on the constructed sub-transmission block subTB1, sub-transmission block subTB2 and sub-transmission block subTB3.
[0107] It should be noted that after constructing a transmission block based on multiple sub-transmission blocks, the present application puts the constructed transmission block into a data buffer area, and outputs it to the physical layer PHY after encoding the data in the buffer area, and then sends it out through the air interface transmission, which can effectively improve data processing efficiency.
[0108] The embodiment of the present application defines a new format of a transmission block, and each sub-transmission block contains only one data sub-header. Compared with the existing need to add a protocol header when processing each layer of the protocol stack, the present application can effectively reduce memory consumption and data processing delay. In addition, the transmission block is constructed based on a unified data buffer area, which can reduce the number of data copies, thereby effectively reducing memory consumption and data processing delay. The present application defines three sub-header formats (i.e., LCID / SN / SI / SO / F / L, LCID / SI / SO / F / L, LCID sub-header), and each sub-header format also has multiple variants, and the format of the data sub-header corresponding to the data can be determined according to the value of the LCID field. Among them, according to the above example, the data sub-header is byte-aligned. If it cannot be aligned, the R field can be used to fill it. For MAC-CE, the format of the transmission block newly defined in the present application can support the segmented transmission of MAC-CE. In addition, the format of the newly defined transmission block can support the format of the data sub-header without the L field, thereby reducing the number of bits occupied by the sub-header. Therefore, compared with the prior art, the embodiments of the present application can increase the data processing rate, reduce the data processing delay, and effectively improve the data processing performance, thereby better ensuring the extremely high transmission rate and extremely low transmission delay requirements of future wireless communication systems.
[0109] It should be noted that although the operations are described in a specific order in the drawings in the embodiments of the present application, it should not be understood as requiring the operations to be performed in the specific order or serial order shown, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0110] In addition, in the embodiments of the present application, the description of each embodiment has its own focus. For parts that are not detailed or recorded in a certain embodiment, please refer to the relevant description of other embodiments.
[0111] The present application also provides an electronic device, such as Fig.13 As shown, the electronic device 1300 includes:
[0112] One or more processors 1310;
[0113] The memory 1320 stores one or more programs. When the one or more programs are executed by the one or more processors 1310, the one or more processors 1310 implement:
[0114] Such as the data processing method applied to the above embodiment.
[0115] The memory 1320, as a non-transient network system, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory 1320 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 1320 may optionally include a memory 1320 remotely arranged relative to the processor 1310, and these remote memories 1320 may be connected to the processor 1310 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0116] The memory 1320 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1320 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1320, and the processor 1310 is called to execute the method of the embodiments of this application.
[0117] The processor 1310 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0118] In some embodiments, reference Fig.13 As shown, the electronic device also includes:
[0119] Input / output interface, used to realize information input and output;
[0120] Communication interface, used to realize communication interaction between this device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0121] A bus that transmits information between the various components of the device (e.g., the processor 1310, the memory 1320, the input / output interface, and the communication interface);
[0122] The processor 1310 , the memory 1320 , the input / output interface and the communication interface can be connected to each other in communication within the device via a bus.
[0123] An embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions for executing:
[0124] Such as the data processing method applied to the above embodiment.
[0125] An embodiment of the present application further provides a computer program product, including a computer program or a computer instruction, wherein the computer program or the computer instruction is stored in a computer-readable storage medium, and a processor of a computer device reads the computer program or the computer instruction from the computer-readable storage medium, and the processor executes the computer program or the computer instruction, so that the computer device executes and implements:
[0126] Such as the data processing method applied to the above embodiment.
[0127] The system architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of the system architecture and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
[0128] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0129] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0130] The above describes some embodiments of the present application with reference to the accompanying drawings, but does not limit the scope of the present invention. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present invention shall be within the scope of the present application.
Claims
1. A data processing method, the method include: Get the data to be transmitted; A transmission block is constructed according to the data, wherein the transmission block includes multiple sub-transmission blocks, the multiple sub-transmission blocks include at least one type of sub-transmission blocks, each of the sub-transmission blocks includes a data field and a data sub-header located before the data field, the data field carries the data, the data sub-header carries at least a logical channel ID field, and the type of the sub-transmission block is related to the value of the logical channel ID field.
2. The method according to claim 1, It is characterized in that The value of the logical channel ID field is the first value; the data subheader also carries the following fields: An SN field, where the SN field is used to indicate a serial number corresponding to the data; An SI field, where the SI field is used to indicate segment information of the data; The F field is used to indicate whether the data subheader has an L field, and if the L field exists, to indicate the length of the L field.
3. The method according to claim 2, It is characterized in that When the value of the SI field indicates that the data is a middle segment or the last segment of the original data, the data subheader also carries the following fields: The SO field is used to indicate the position of the data segment in the original data.
4. The method according to claim 2, It is characterized in that The data subheader also carries the following fields: L field, the L field is used to indicate the length of the data field.
5. The method according to claim 1, It is characterized in that The value of the logical channel ID field is the second value; the data subheader also carries the following fields: An SI field, where the SI field is used to indicate segment information of the data; The F field is used to indicate whether the data subheader has an L field, and if the L field exists, to indicate the length of the L field.
6. The method according to claim 5, It is characterized in that In the case where the value of the SI field indicates that the data is a middle segment or the last segment of the original data, the data subheader further includes: The SO field is used to indicate the position of the data segment in the original data.
7. The method according to claim 5, It is characterized in that The data sub-header also includes: L field, the L field is used for the length of the data field.
8. The method according to any one of claims 1 to 7, It is characterized in that The data sub-header also includes an R field, which is a reserved bit.
9. The method according to claim 1, It is characterized in that The value of the logical channel ID field is a third value; the data subheader does not carry other fields; and the data field carries data of a fixed length.
10. An electronic device, include: one or more processors; A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement: A data processing method as claimed in any one of claims 1 to 9.
11. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the data processing method according to any one of claims 1 to 9 is implemented.